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.00127/0.00127, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001682/0.001682, allocations: 216 kB / 23.04 MB, free: 5.078 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002533/0.002533, allocations: 290.5 kB / 313.5 MB, free: 2.809 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.192/1.192, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",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.002873/0.002873, allocations: 94.59 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.00519/0.1744, allocations: 3.194 MB / 0.8366 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.177, allocations: 1.41 MB / 0.838 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1771, allocations: 7.938 kB / 0.838 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1782, allocations: 349.5 kB / 0.8383 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1786, allocations: 147.3 kB / 0.8385 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.179, allocations: 139.6 kB / 0.8386 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.1794, allocations: 303 kB / 0.8389 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1798, allocations: 180.5 kB / 0.8391 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.18, allocations: 127.6 kB / 0.8392 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.1803, allocations: 147.5 kB / 0.8393 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1803, allocations: 20 kB / 0.8393 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.1807, allocations: 171.6 kB / 0.8395 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1808, allocations: 83.73 kB / 0.8396 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1809, allocations: 111.5 kB / 0.8397 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.1814, allocations: 342.8 kB / 0.84 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1814, allocations: 0 / 0.84 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1814, allocations: 0 / 0.84 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.1814, allocations: 0 / 0.84 GB, free: 1.938 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.0008372/0.1822, allocations: 453.5 kB / 0.8404 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1823, allocations: 9.344 kB / 0.8405 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.568e-05/0.1823, allocations: 12.56 kB / 0.8405 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.1824, allocations: 50.73 kB / 0.8405 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.1829, allocations: 80.72 kB / 0.8406 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1833, allocations: 192.5 kB / 0.8408 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1833, allocations: 16.69 kB / 0.8408 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1833, allocations: 20.38 kB / 0.8408 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.1838, allocations: 302.8 kB / 0.8411 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1838, allocations: 0 / 0.8411 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.1838, allocations: 11.98 kB / 0.8411 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.1839, allocations: 20.36 kB / 0.8411 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.1842, allocations: 193 kB / 0.8413 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1859, allocations: 1.425 MB / 0.8427 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1861, allocations: 94.61 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.1862, allocations: 32.78 kB / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.1862, allocations: 0 / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1862, allocations: 38.56 kB / 0.8429 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1862, allocations: 0 / 0.8429 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004822/0.1867, allocations: 146.6 kB / 0.843 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1868, allocations: 55.34 kB / 0.8431 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.187, allocations: 205.3 kB / 0.8433 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.187, allocations: 29.7 kB / 0.8433 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1871, allocations: 160 kB / 0.8434 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1872, allocations: 31.8 kB / 0.8435 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1872, allocations: 29.72 kB / 0.8435 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1874, allocations: 334.8 kB / 0.8438 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1875, allocations: 35.98 kB / 0.8438 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1876, allocations: 98.28 kB / 0.8439 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1878, allocations: 144.4 kB / 0.8441 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1878, allocations: 0 / 0.8441 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003348/0.1881, allocations: 198.1 kB / 0.8443 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1881, allocations: 8.266 kB / 0.8443 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1881, allocations: 8 kB / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.1883, allocations: 24.84 kB / 0.8443 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1884, allocations: 23.94 kB / 0.8443 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1896, allocations: 1.326 MB / 0.8456 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1897, allocations: 15.84 kB / 0.8456 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1897, allocations: 8 kB / 0.8456 GB, free: 11.67 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.0001579/0.1899, allocations: 156.5 kB / 0.8458 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1899, allocations: 11.95 kB / 0.8458 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.1899, allocations: 25.33 kB / 0.8458 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.19, allocations: 0 / 0.8458 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.19, allocations: 0 / 0.8458 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.19, allocations: 0 / 0.8458 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.1905, allocations: 422.2 kB / 0.8462 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1905, allocations: 0 / 0.8462 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1905, allocations: 7.984 kB / 0.8462 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.827e-05/0.1906, allocations: 28.84 kB / 0.8463 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1906, allocations: 0 / 0.8463 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1917, allocations: 1.323 MB / 0.8476 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1917, allocations: 0 / 0.8476 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.192, allocations: 220.6 kB / 0.8478 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.192, allocations: 20 kB / 0.8478 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1921, allocations: 4 kB / 0.8478 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1922, allocations: 7.984 kB / 0.8478 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1922, allocations: 0 / 0.8478 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1922, allocations: 4 kB / 0.8478 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001432/0.1924, allocations: 143.1 kB / 0.8479 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1924, allocations: 0 / 0.8479 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003387/0.1927, allocations: 55.83 kB / 0.848 GB, free: 9.066 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.0005625/0.1933, allocations: 0.7445 MB / 0.8487 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.1936, allocations: 206.9 kB / 0.8489 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1936, allocations: 4.188 kB / 0.8489 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1938, allocations: 142.7 kB / 0.8491 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1942, allocations: 44.12 kB / 0.8491 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.1966, allocations: 2.047 MB / 0.8511 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.197, allocations: 0.7476 MB / 0.8518 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.384e-05/0.1971, allocations: 25.47 kB / 0.8519 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.1972, allocations: 55.42 kB / 0.8519 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.1972, allocations: 0 / 0.8519 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2246, allocations: 3.933 MB / 0.8558 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.63, allocations: 1.203 kB / 0.8558 GB, free: 1.082 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.781917991989758] Failed to read output from testmodel.py, exit status != 0: 11.798134769021999 11.814701976 11.629949989 Calling exit ...