Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.9 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6901/0.6901, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8 kB / 495.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 77.54 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.2999/0.439, allocations: 29.07 MB / 0.5884 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4552, allocations: 11.7 MB / 0.5999 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.4566, allocations: 41.62 kB / 0.5999 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00804/0.4647, allocations: 3.776 MB / 0.6036 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.4694, allocations: 1.415 MB / 0.605 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.4731, allocations: 1.265 MB / 0.6062 GB, free: 8.555 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01064/0.4837, allocations: 7.998 MB / 0.614 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.4857, allocations: 1.131 MB / 0.6151 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.4885, allocations: 1.235 MB / 0.6163 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.4904, allocations: 1.084 MB / 0.6174 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.4908, allocations: 52.31 kB / 0.6174 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.494, allocations: 1.266 MB / 0.6187 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.4946, allocations: 463.5 kB / 0.6191 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.4963, allocations: 0.8896 MB / 0.62 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.4999, allocations: 2.9 MB / 0.6228 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4999, allocations: 4 kB / 0.6228 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4999, allocations: 0 / 0.6228 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.4999, allocations: 0 / 0.6228 GB, free: 1.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002852/0.5028, allocations: 2.017 MB / 0.6248 GB, free: 15.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5028, allocations: 13.17 kB / 0.6248 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.503, allocations: 127.2 kB / 0.6249 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.5048, allocations: 387.3 kB / 0.6253 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.5082, allocations: 2.33 MB / 0.6276 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.5083, allocations: 76.59 kB / 0.6276 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5085, allocations: 86.34 kB / 0.6277 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.5103, allocations: 1.016 MB / 0.6287 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5103, allocations: 0 / 0.6287 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.5104, allocations: 33.91 kB / 0.6287 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.5104, allocations: 20.09 kB / 0.6288 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.5121, allocations: 0.7799 MB / 0.6295 GB, free: 12.91 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.5182, allocations: 5.359 MB / 0.6348 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5196, allocations: 0.59 MB / 0.6353 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.5203, allocations: 340.8 kB / 0.6357 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002245/0.5226, allocations: 1.637 MB / 0.6373 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/0.5234, allocations: 331.8 kB / 0.6376 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004055/0.5238, allocations: 115.2 kB / 0.6377 GB, free: 5.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/0.5238, allocations: 0 / 0.6377 GB, free: 5.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.003398/0.5272, allocations: 1.254 MB / 0.6389 GB, free: 3.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5273, allocations: 55.41 kB / 0.639 GB, free: 3.656 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.5295, allocations: 1.842 MB / 0.6408 GB, free: 1.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.5296, allocations: 37.7 kB / 0.6408 GB, free: 1.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/0.5303, allocations: 0.7889 MB / 0.6416 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.5304, allocations: 161.3 kB / 0.6417 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.5306, allocations: 133.6 kB / 0.6418 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5308, allocations: 349.9 kB / 0.6422 GB, free: 304 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008474/0.5316, allocations: 454 kB / 0.6426 GB, free: 15.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5327, allocations: 0.8436 MB / 0.6434 GB, free: 14.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.5345, allocations: 1.17 MB / 0.6446 GB, free: 13.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5346, allocations: 4 kB / 0.6446 GB, free: 13.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00291/0.5375, allocations: 1.602 MB / 0.6461 GB, free: 11.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.5377, allocations: 375.9 kB / 0.6465 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.5377, allocations: 16 kB / 0.6465 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.5384, allocations: 180.7 kB / 0.6467 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.5391, allocations: 207.6 kB / 0.6469 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.5399, allocations: 0.7762 MB / 0.6476 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.5411, allocations: 104.7 kB / 0.6477 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.5412, allocations: 47.98 kB / 0.6478 GB, free: 10.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.5412, allocations: 4 kB / 0.6478 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/0.5435, allocations: 1.418 MB / 0.6492 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5435, allocations: 8 kB / 0.6492 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.5437, allocations: 108.7 kB / 0.6493 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.5444, allocations: 207.9 kB / 0.6495 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.5464, allocations: 2.164 MB / 0.6516 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/0.5474, allocations: 88.88 kB / 0.6517 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.5475, allocations: 47.98 kB / 0.6517 GB, free: 5.887 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008434/0.5484, allocations: 0.5864 MB / 0.6523 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.5486, allocations: 166 kB / 0.6525 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.5506, allocations: 0.9105 MB / 0.6534 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5506, allocations: 4 kB / 0.6534 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.5506, allocations: 4 kB / 0.6534 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.5522, allocations: 0.8997 MB / 0.6542 GB, free: 3.238 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5556, allocations: 2.057 MB / 0.6563 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5556, allocations: 4 kB / 0.6563 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.5561, allocations: 91.92 kB / 0.6563 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.5564, allocations: 120.8 kB / 0.6565 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.5564, allocations: 11.98 kB / 0.6565 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005913/0.557, allocations: 0.7513 MB / 0.6572 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.557, allocations: 0 / 0.6572 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.5594, allocations: 1.254 MB / 0.6584 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.5599, allocations: 322.9 kB / 0.6587 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5601, allocations: 15.92 kB / 0.6588 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/0.5609, allocations: 79.98 kB / 0.6588 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.561, allocations: 36.38 kB / 0.6589 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.5611, allocations: 27.98 kB / 0.6589 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001625/0.5627, allocations: 1.246 MB / 0.6601 GB, free: 13.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5627, allocations: 0 / 0.6601 GB, free: 13.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002142/0.5649, allocations: 0.8112 MB / 0.6609 GB, free: 12.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003588/0.5685, allocations: 2.14 MB / 0.663 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.5719, allocations: 1.867 MB / 0.6648 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5719, allocations: 320 / 0.6648 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.5727, allocations: 346.4 kB / 0.6651 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.576, allocations: 0.7425 MB / 0.6659 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/0.6012, allocations: 13.95 MB / 0.6795 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.6022, allocations: 1.444 MB / 0.6809 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001676/0.6039, allocations: 441.2 kB / 0.6813 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.6048, allocations: 0.6398 MB / 0.6819 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.6048, allocations: 0 / 0.6819 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6638/1.269, allocations: 45.09 MB / 0.726 GB, free: 9.363 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.269, allocations: 266.9 kB / 0.7262 GB, free: 9.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/4.265, allocations: 0 / 0.7262 GB, free: 9.004 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example2.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)