Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.001362/0.001362, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001426/0.001426, allocations: 215 kB / 20.13 MB, free: 2.949 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002491/0.002491, allocations: 288.2 kB / 309.8 MB, free: 3.527 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.157/1.157, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 178] 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.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",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.00289/0.00289, allocations: 91.86 kB / 0.7346 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5354, allocations: 95.35 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004767/0.5402, allocations: 3.903 MB / 0.8316 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002924/0.5431, allocations: 1.782 MB / 0.8333 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.5433, allocations: 9.344 kB / 0.8333 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.5447, allocations: 0.4951 MB / 0.8338 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.5452, allocations: 225.8 kB / 0.834 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.5458, allocations: 210.7 kB / 0.8342 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.5463, allocations: 477.3 kB / 0.8347 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.5469, allocations: 304.9 kB / 0.835 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.5471, allocations: 196.5 kB / 0.8352 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.5475, allocations: 222.5 kB / 0.8354 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.5476, allocations: 34.31 kB / 0.8354 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.548, allocations: 254.5 kB / 0.8356 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.5481, allocations: 128.5 kB / 0.8358 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.5483, allocations: 170.9 kB / 0.8359 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.549, allocations: 0.499 MB / 0.8364 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.549, allocations: 0.6094 kB / 0.8364 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.549, allocations: 0 / 0.8364 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.549, allocations: 0.7188 kB / 0.8364 GB, free: 13.73 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001073/0.5501, allocations: 0.6433 MB / 0.837 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5501, allocations: 11.58 kB / 0.8371 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.5501, allocations: 7.531 kB / 0.8371 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/0.5502, allocations: 70.88 kB / 0.8371 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.5511, allocations: 135.9 kB / 0.8373 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.5515, allocations: 299.6 kB / 0.8375 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.5516, allocations: 18 kB / 0.8376 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.5516, allocations: 31.11 kB / 0.8376 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.5523, allocations: 464.7 kB / 0.838 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5523, allocations: 1.75 kB / 0.838 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.5524, allocations: 15.14 kB / 0.8381 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.5524, allocations: 31.67 kB / 0.8381 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.5529, allocations: 321.1 kB / 0.8384 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.5553, allocations: 2.18 MB / 0.8405 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.5557, allocations: 241.6 kB / 0.8407 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.5559, allocations: 94.78 kB / 0.8408 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.5559, allocations: 5.375 kB / 0.8408 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5559, allocations: 40.72 kB / 0.8409 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.556, allocations: 3.938 kB / 0.8409 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0006177/0.5566, allocations: 303.3 kB / 0.8412 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.5566, allocations: 53.38 kB / 0.8412 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.5569, allocations: 271.9 kB / 0.8415 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.557, allocations: 27.34 kB / 0.8415 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.5571, allocations: 216.7 kB / 0.8417 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.5572, allocations: 51.2 kB / 0.8418 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.5573, allocations: 51.08 kB / 0.8418 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5574, allocations: 335.1 kB / 0.8421 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.5575, allocations: 59.97 kB / 0.8422 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5577, allocations: 137.8 kB / 0.8423 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.558, allocations: 218 kB / 0.8425 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.558, allocations: 1.438 kB / 0.8425 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000449/0.5584, allocations: 270.6 kB / 0.8428 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5585, allocations: 7.219 kB / 0.8428 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5585, allocations: 3.281 kB / 0.8428 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.5586, allocations: 30.14 kB / 0.8428 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.5588, allocations: 52.08 kB / 0.8429 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.56, allocations: 1.417 MB / 0.8443 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.5602, allocations: 27.44 kB / 0.8443 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.5602, allocations: 12.69 kB / 0.8443 GB, free: 7.344 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.000182/0.5604, allocations: 166.7 kB / 0.8445 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.5605, allocations: 26.59 kB / 0.8445 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.5605, allocations: 31.89 kB / 0.8445 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5605, allocations: 3.375 kB / 0.8445 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5605, allocations: 0 / 0.8445 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5605, allocations: 0.5156 kB / 0.8445 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.5615, allocations: 0.7079 MB / 0.8452 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5615, allocations: 1.5 kB / 0.8452 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.5616, allocations: 25.45 kB / 0.8452 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.259e-05/0.5617, allocations: 24.95 kB / 0.8453 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5617, allocations: 10.94 kB / 0.8453 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.5628, allocations: 1.41 MB / 0.8466 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5628, allocations: 7.297 kB / 0.8467 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5632, allocations: 321.3 kB / 0.847 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5633, allocations: 127.3 kB / 0.8471 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5634, allocations: 3.625 kB / 0.8471 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5635, allocations: 16.16 kB / 0.8471 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.5636, allocations: 10.97 kB / 0.8471 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.5636, allocations: 8.969 kB / 0.8471 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002195/0.5638, allocations: 190.2 kB / 0.8473 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5638, allocations: 5.438 kB / 0.8473 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004254/0.5642, allocations: 72.11 kB / 0.8474 GB, free: 4.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.00073/0.565, allocations: 0.8528 MB / 0.8482 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.5655, allocations: 272 kB / 0.8485 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5655, allocations: 0.5 kB / 0.8485 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.5657, allocations: 178.6 kB / 0.8486 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.5662, allocations: 64.11 kB / 0.8487 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.57, allocations: 2.718 MB / 0.8514 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.5705, allocations: 0.7896 MB / 0.8521 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000167/0.5707, allocations: 41.03 kB / 0.8522 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.5708, allocations: 88.38 kB / 0.8522 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.5708, allocations: 0 / 0.8522 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.5975, allocations: 5.495 MB / 0.8576 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.89, allocations: 13.69 kB / 0.8576 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.060970942024142] Failed to read output from testmodel.py, exit status != 0: 11.035333848034497 11.062995047 10.508953289 Calling exit ...