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.001271/0.001271, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001357/0.001357, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002424/0.002424, allocations: 296.4 kB / 309.8 MB, free: 3.453 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.089/1.089, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.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.002972/0.002972, allocations: 104.2 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5472, allocations: 95.34 MB / 0.8278 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003705/0.5509, allocations: 3.121 MB / 0.8308 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.5526, allocations: 1.387 MB / 0.8322 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.5527, allocations: 10.62 kB / 0.8322 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009446/0.5536, allocations: 339 kB / 0.8325 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.554, allocations: 139.9 kB / 0.8326 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.5543, allocations: 140.4 kB / 0.8328 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.5547, allocations: 304.4 kB / 0.8331 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.555, allocations: 185.4 kB / 0.8332 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.5552, allocations: 128.2 kB / 0.8334 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.5555, allocations: 142.4 kB / 0.8335 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.5555, allocations: 18.12 kB / 0.8335 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.5558, allocations: 175.2 kB / 0.8337 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.5559, allocations: 81.17 kB / 0.8338 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.556, allocations: 111.5 kB / 0.8339 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.5565, allocations: 340.3 kB / 0.8342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5565, allocations: 0 / 0.8342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5565, allocations: 4 kB / 0.8342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5565, allocations: 0 / 0.8342 GB, free: 14.98 MB / 0.5919 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.0008389/0.5573, allocations: 0.5155 MB / 0.8347 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5574, allocations: 13.19 kB / 0.8347 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.5574, allocations: 10.06 kB / 0.8347 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.5574, allocations: 57.81 kB / 0.8348 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.558, allocations: 79.48 kB / 0.8348 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.5583, allocations: 251.4 kB / 0.8351 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5583, allocations: 16.16 kB / 0.8351 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.5584, allocations: 16.94 kB / 0.8351 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.5588, allocations: 300.3 kB / 0.8354 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5588, allocations: 2.188 kB / 0.8354 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.5589, allocations: 15.58 kB / 0.8354 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.5589, allocations: 20.03 kB / 0.8354 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.5592, allocations: 192.9 kB / 0.8356 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5608, allocations: 1.457 MB / 0.837 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.561, allocations: 173.6 kB / 0.8372 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.5611, allocations: 30.36 kB / 0.8372 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.5611, allocations: 0 / 0.8372 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5611, allocations: 40.55 kB / 0.8373 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.5611, allocations: 0 / 0.8373 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.000489/0.5616, allocations: 230.5 kB / 0.8375 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5617, allocations: 52.84 kB / 0.8376 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.5619, allocations: 200.3 kB / 0.8377 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.5619, allocations: 25.7 kB / 0.8378 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.562, allocations: 167.3 kB / 0.8379 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.562, allocations: 30.44 kB / 0.838 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.5621, allocations: 31.45 kB / 0.838 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5622, allocations: 335.6 kB / 0.8383 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.5623, allocations: 35.08 kB / 0.8383 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5624, allocations: 96.64 kB / 0.8384 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.5626, allocations: 144.4 kB / 0.8386 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5626, allocations: 6.375 kB / 0.8386 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003099/0.5629, allocations: 189.6 kB / 0.8388 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5629, allocations: 6.406 kB / 0.8388 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5629, allocations: 2.219 kB / 0.8388 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.5631, allocations: 36.11 kB / 0.8388 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5632, allocations: 27.61 kB / 0.8388 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.5644, allocations: 1.415 MB / 0.8402 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.5645, allocations: 23.66 kB / 0.8402 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5645, allocations: 5.344 kB / 0.8402 GB, free: 9.703 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.0001411/0.5647, allocations: 157.2 kB / 0.8404 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.5647, allocations: 10.95 kB / 0.8404 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.5647, allocations: 13.91 kB / 0.8404 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5647, allocations: 7.453 kB / 0.8404 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5647, allocations: 0 / 0.8404 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.5647, allocations: 4.031 kB / 0.8404 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.5653, allocations: 447.1 kB / 0.8408 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5653, allocations: 1.281 kB / 0.8408 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.5653, allocations: 7.078 kB / 0.8409 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/0.5654, allocations: 23.77 kB / 0.8409 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5654, allocations: 8 kB / 0.8409 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.5665, allocations: 1.415 MB / 0.8423 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5665, allocations: 3.016 kB / 0.8423 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.5667, allocations: 217.7 kB / 0.8425 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.5668, allocations: 102.2 kB / 0.8426 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5668, allocations: 1.281 kB / 0.8426 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5669, allocations: 8.312 kB / 0.8426 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5669, allocations: 8.703 kB / 0.8426 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.5669, allocations: 3.094 kB / 0.8426 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000132/0.5671, allocations: 139.9 kB / 0.8427 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5671, allocations: 0 / 0.8427 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003177/0.5674, allocations: 53.52 kB / 0.8428 GB, free: 7.332 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.0005542/0.5679, allocations: 0.7467 MB / 0.8435 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.5683, allocations: 201.8 kB / 0.8437 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5683, allocations: 288 / 0.8437 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.5685, allocations: 144.2 kB / 0.8438 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.5688, allocations: 42.25 kB / 0.8439 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.5713, allocations: 2.053 MB / 0.8459 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.5717, allocations: 0.7509 MB / 0.8466 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.72e-05/0.5718, allocations: 28.91 kB / 0.8466 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.5719, allocations: 55.34 kB / 0.8467 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.5719, allocations: 1.094 kB / 0.8467 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.6018, allocations: 3.807 MB / 0.8504 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.94, allocations: 8.094 kB / 0.8504 GB, free: 3.336 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.92953587602824] Failed to read output from testmodel.py, exit status != 0: 11.102434083004482 11.125418143 10.565159477 Calling exit ...