Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001598/0.001598, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001526/0.001526, allocations: 215.5 kB / 22.25 MB, free: 5.242 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002592/0.002592, allocations: 300.2 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.185/1.185, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002994/0.002994, allocations: 110.6 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1617, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004922/0.1666, allocations: 3.064 MB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.169, allocations: 1.309 MB / 0.8369 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1691, allocations: 7.938 kB / 0.8369 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1701, allocations: 336.3 kB / 0.8372 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1704, allocations: 155.2 kB / 0.8374 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1708, allocations: 127.7 kB / 0.8375 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1712, allocations: 306.9 kB / 0.8378 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.1716, allocations: 176.7 kB / 0.838 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1718, allocations: 127.5 kB / 0.8381 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1721, allocations: 139.5 kB / 0.8382 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1722, allocations: 20 kB / 0.8382 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1724, allocations: 147.7 kB / 0.8384 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.1725, allocations: 83.8 kB / 0.8384 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1726, allocations: 91.58 kB / 0.8385 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.1731, allocations: 346.7 kB / 0.8389 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1731, allocations: 0 / 0.8389 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1731, allocations: 0 / 0.8389 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1731, allocations: 0 / 0.8389 GB, free: 1.918 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007825/0.1739, allocations: 461.5 kB / 0.8393 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1739, allocations: 9.344 kB / 0.8393 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.174, allocations: 58.73 kB / 0.8394 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.1745, allocations: 76.72 kB / 0.8394 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1749, allocations: 182.2 kB / 0.8396 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1749, allocations: 16.69 kB / 0.8396 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.1749, allocations: 20.38 kB / 0.8397 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.1754, allocations: 380.2 kB / 0.84 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1755, allocations: 4 kB / 0.84 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1755, allocations: 12 kB / 0.84 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.1755, allocations: 20.36 kB / 0.8401 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.1758, allocations: 192.9 kB / 0.8402 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1773, allocations: 1.027 MB / 0.8412 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1776, allocations: 102.5 kB / 0.8413 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1778, allocations: 32.84 kB / 0.8414 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1778, allocations: 4 kB / 0.8414 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1778, allocations: 30.56 kB / 0.8414 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1778, allocations: 0 / 0.8414 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.000452/0.1783, allocations: 154.3 kB / 0.8415 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1783, allocations: 51.41 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1785, allocations: 205.3 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1785, allocations: 25.7 kB / 0.8418 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1787, allocations: 171.9 kB / 0.842 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.1787, allocations: 27.78 kB / 0.842 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.1788, allocations: 37.67 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.179, allocations: 326.8 kB / 0.8424 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.179, allocations: 35.98 kB / 0.8424 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1792, allocations: 102.2 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1794, allocations: 148.6 kB / 0.8426 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1794, allocations: 0 / 0.8426 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003335/0.1797, allocations: 194.1 kB / 0.8428 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1797, allocations: 4.281 kB / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1797, allocations: 8 kB / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.18, allocations: 24.84 kB / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1801, allocations: 31.92 kB / 0.8429 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1813, allocations: 1.307 MB / 0.8442 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1814, allocations: 20.08 kB / 0.8442 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1814, allocations: 8 kB / 0.8442 GB, free: 12.04 MB / 0.5919 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 (17): * Single equations (assignments): 16 * 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.0002145/0.1816, allocations: 165.6 kB / 0.8443 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.1817, allocations: 11.91 kB / 0.8444 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1817, allocations: 17.41 kB / 0.8444 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1817, allocations: 4.047 kB / 0.8444 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1817, allocations: 3.984 kB / 0.8444 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1817, allocations: 3.984 kB / 0.8444 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.1823, allocations: 398.4 kB / 0.8448 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1823, allocations: 4 kB / 0.8448 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1823, allocations: 4 kB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.1824, allocations: 28.83 kB / 0.8448 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1824, allocations: 3.938 kB / 0.8448 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1835, allocations: 1.312 MB / 0.8461 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1835, allocations: 160 / 0.8461 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1838, allocations: 216.2 kB / 0.8463 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1838, allocations: 19.89 kB / 0.8463 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1839, allocations: 11.94 kB / 0.8463 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.184, allocations: 4 kB / 0.8463 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.184, allocations: 7.984 kB / 0.8463 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.184, allocations: 0 / 0.8463 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001443/0.1841, allocations: 147.1 kB / 0.8465 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1841, allocations: 0 / 0.8465 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003317/0.1845, allocations: 51.89 kB / 0.8465 GB, free: 9.453 MB / 0.5919 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 (6): * Single equations (assignments): 5 * 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.0006048/0.1851, allocations: 0.7507 MB / 0.8473 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1855, allocations: 198.6 kB / 0.8474 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1855, allocations: 0 / 0.8474 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1857, allocations: 147.1 kB / 0.8476 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.186, allocations: 47.08 kB / 0.8476 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1887, allocations: 2.049 MB / 0.8496 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.1888, allocations: 143.9 kB / 0.8498 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.921e-05/0.1889, allocations: 29.45 kB / 0.8498 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.189, allocations: 51.42 kB / 0.8498 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.189, allocations: 0 / 0.8498 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.2339, allocations: 4.382 MB / 0.8541 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.73, allocations: 3.359 kB / 0.8541 GB, free: 1.641 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.749345616903156] Failed to read output from testmodel.py, exit status != 0: 11.840585370082408 11.868329025 11.690080726 Calling exit ...