Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 117.9 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 219 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.014/1.014, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 68.58 kB / 0.6412 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1905, allocations: 89.18 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.007536/0.198, allocations: 3.33 MB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.2014, allocations: 1.488 MB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2017, allocations: 11.94 kB / 0.7331 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.2031, allocations: 346.7 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.2037, allocations: 147.2 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.2043, allocations: 167.5 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.205, allocations: 334.8 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.2057, allocations: 204 kB / 0.7342 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2061, allocations: 147.5 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.2066, allocations: 163.4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.2067, allocations: 20 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.2072, allocations: 171.6 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2074, allocations: 87.72 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.2076, allocations: 115.5 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008264/0.2084, allocations: 374.5 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2084, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2084, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.2084, allocations: 0 / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001378/0.2098, allocations: 489.4 kB / 0.7357 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.2099, allocations: 8.031 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.21, allocations: 54.73 kB / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.211, allocations: 96.66 kB / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2115, allocations: 199.7 kB / 0.736 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2115, allocations: 12.81 kB / 0.7361 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.2116, allocations: 20.38 kB / 0.7361 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.2123, allocations: 320.4 kB / 0.7364 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2124, allocations: 0 / 0.7364 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.2124, allocations: 11.98 kB / 0.7364 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.2125, allocations: 16.44 kB / 0.7364 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.213, allocations: 213.5 kB / 0.7366 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.2155, allocations: 1.463 MB / 0.738 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.216, allocations: 122.5 kB / 0.7382 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2161, allocations: 40.83 kB / 0.7382 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2161, allocations: 0 / 0.7382 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.2162, allocations: 38.56 kB / 0.7382 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2162, allocations: 4 kB / 0.7382 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007473/0.2169, allocations: 186.3 kB / 0.7384 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.217, allocations: 55.39 kB / 0.7385 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2173, allocations: 214.9 kB / 0.7387 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2173, allocations: 25.7 kB / 0.7387 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2175, allocations: 172 kB / 0.7389 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2175, allocations: 39.72 kB / 0.7389 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/0.2176, allocations: 37.66 kB / 0.7389 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2178, allocations: 326.8 kB / 0.7392 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.218, allocations: 48.03 kB / 0.7393 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2182, allocations: 112.6 kB / 0.7394 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.2185, allocations: 172.3 kB / 0.7396 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2185, allocations: 0 / 0.7396 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005786/0.2191, allocations: 214.3 kB / 0.7398 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2191, allocations: 4 kB / 0.7398 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2192, allocations: 7.984 kB / 0.7398 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.2194, allocations: 28.78 kB / 0.7398 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.2196, allocations: 31.92 kB / 0.7398 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.2212, allocations: 1.322 MB / 0.7411 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2214, allocations: 15.89 kB / 0.7411 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2214, allocations: 12.16 kB / 0.7412 GB, free: 3.621 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.2216, allocations: 150.6 kB / 0.7413 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.2217, allocations: 15.91 kB / 0.7413 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.2218, allocations: 25.38 kB / 0.7413 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.2218, allocations: 4 kB / 0.7413 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2218, allocations: 0 / 0.7413 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2218, allocations: 0 / 0.7413 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.2227, allocations: 466.2 kB / 0.7418 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2227, allocations: 0 / 0.7418 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.2228, allocations: 15.92 kB / 0.7418 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.2229, allocations: 28.78 kB / 0.7418 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2229, allocations: 0 / 0.7418 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.2244, allocations: 1.323 MB / 0.7431 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2244, allocations: 4 kB / 0.7431 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.2248, allocations: 240.3 kB / 0.7434 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.2249, allocations: 27.83 kB / 0.7434 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.2249, allocations: 0 / 0.7434 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2251, allocations: 8 kB / 0.7434 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.2251, allocations: 8.078 kB / 0.7434 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2252, allocations: 3.938 kB / 0.7434 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001947/0.2254, allocations: 156.5 kB / 0.7435 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2254, allocations: 0 / 0.7435 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005775/0.2259, allocations: 55.89 kB / 0.7436 GB, free: 0.9219 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008304/0.2268, allocations: 0.7751 MB / 0.7444 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006247/0.2274, allocations: 226.5 kB / 0.7446 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2274, allocations: 0 / 0.7446 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.2277, allocations: 155.2 kB / 0.7447 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.2282, allocations: 44.61 kB / 0.7448 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.232, allocations: 2.164 MB / 0.7469 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.2325, allocations: 0.7554 MB / 0.7476 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.2326, allocations: 33.45 kB / 0.7476 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.2328, allocations: 55.42 kB / 0.7477 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.2328, allocations: 0 / 0.7477 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.2686, allocations: 4.211 MB / 0.7518 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.93, allocations: 2.5 kB / 0.7518 GB, free: 8.453 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.079577778931707] Failed to read output from testmodel.py, exit status != 0: 12.03579848492518 12.371456024 12.160265746 Calling exit ...