Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 175.8 MB / 478.5 MB, free: 8.438 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 72.53 kB / 0.6652 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1806, allocations: 94.54 MB / 0.7575 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5301/0.7106, allocations: 155 MB / 0.9089 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.7254, allocations: 10.61 MB / 0.9192 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.7264, allocations: 19.88 kB / 0.9193 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.7274, allocations: 289.6 kB / 0.9195 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.7303, allocations: 0.983 MB / 0.9205 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.7329, allocations: 1.092 MB / 0.9216 GB, free: 76 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.7349, allocations: 1.721 MB / 0.9232 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.7361, allocations: 0.9468 MB / 0.9242 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7379, allocations: 0.7361 MB / 0.9249 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/0.7386, allocations: 0.6301 MB / 0.9255 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.7388, allocations: 136 kB / 0.9256 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.7406, allocations: 1.045 MB / 0.9267 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.741, allocations: 386.8 kB / 0.927 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006193/0.7416, allocations: 0.6763 MB / 0.9277 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.7442, allocations: 2.248 MB / 0.9299 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7442, allocations: 0 / 0.9299 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7442, allocations: 0 / 0.9299 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.7443, allocations: 4 kB / 0.9299 GB, free: 7.523 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002936/0.7472, allocations: 1.774 MB / 0.9316 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7472, allocations: 12.03 kB / 0.9316 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.7474, allocations: 148.1 kB / 0.9318 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.7489, allocations: 278.9 kB / 0.932 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.7505, allocations: 1.094 MB / 0.9331 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.7506, allocations: 74 kB / 0.9332 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7507, allocations: 92 kB / 0.9333 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.7525, allocations: 1.106 MB / 0.9343 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.7525, allocations: 0 / 0.9343 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.7526, allocations: 44 kB / 0.9344 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.7526, allocations: 24 kB / 0.9344 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.7549, allocations: 1.323 MB / 0.9357 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.7601, allocations: 3.527 MB / 0.9391 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.762, allocations: 1.044 MB / 0.9402 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.7628, allocations: 391.6 kB / 0.9405 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.763, allocations: 138 kB / 0.9407 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.7641, allocations: 0.6216 MB / 0.9413 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.284e-06/0.7641, allocations: 0 / 0.9413 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.003955/0.7681, allocations: 1.636 MB / 0.9429 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.7682, allocations: 196.9 kB / 0.9431 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.7694, allocations: 1.021 MB / 0.9441 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.7695, allocations: 49.7 kB / 0.9441 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.7699, allocations: 481.2 kB / 0.9446 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.7702, allocations: 317.2 kB / 0.9449 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7704, allocations: 174.6 kB / 0.945 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7706, allocations: 337.9 kB / 0.9454 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.7713, allocations: 337.8 kB / 0.9457 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.7721, allocations: 473.1 kB / 0.9461 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.7736, allocations: 0.7648 MB / 0.9469 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7736, allocations: 0 / 0.9469 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002366/0.7759, allocations: 1.045 MB / 0.9479 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7759, allocations: 8.062 kB / 0.9479 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.7759, allocations: 7.938 kB / 0.9479 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.7767, allocations: 113.6 kB / 0.948 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.7775, allocations: 203.7 kB / 0.9482 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.7809, allocations: 3.063 MB / 0.9512 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.7817, allocations: 107.4 kB / 0.9513 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.7818, allocations: 35.97 kB / 0.9513 GB, free: 0.7031 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005132/0.7823, allocations: 317.5 kB / 0.9516 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.7825, allocations: 103.3 kB / 0.9517 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.7855, allocations: 1.329 MB / 0.953 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.7855, allocations: 16.03 kB / 0.9531 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7855, allocations: 0 / 0.9531 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.7856, allocations: 3.984 kB / 0.9531 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.7901, allocations: 2.435 MB / 0.9554 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7901, allocations: 3.938 kB / 0.9554 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.7909, allocations: 187.8 kB / 0.9556 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/0.7915, allocations: 109.6 kB / 0.9557 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.7915, allocations: 31.92 kB / 0.9558 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/0.7948, allocations: 3.093 MB / 0.9588 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7948, allocations: 0 / 0.9588 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.7975, allocations: 1.237 MB / 0.96 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.7981, allocations: 332 kB / 0.9603 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7982, allocations: 19.98 kB / 0.9603 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/0.799, allocations: 79.86 kB / 0.9604 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.7991, allocations: 84.88 kB / 0.9605 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.7992, allocations: 43.91 kB / 0.9605 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009518/0.8002, allocations: 0.7528 MB / 0.9613 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8002, allocations: 0 / 0.9613 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001167/0.8014, allocations: 450.9 kB / 0.9617 GB, free: 5.688 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004997/0.8064, allocations: 2.416 MB / 0.964 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.8086, allocations: 1.08 MB / 0.9651 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8086, allocations: 0 / 0.9651 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.81, allocations: 0.7058 MB / 0.9658 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8115, allocations: 352.2 kB / 0.9661 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.8269, allocations: 8.368 MB / 0.9743 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.8279, allocations: 1.103 MB / 0.9754 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001072/0.829, allocations: 316 kB / 0.9757 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007432/0.8298, allocations: 467.2 kB / 0.9761 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.8298, allocations: 0 / 0.9761 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.9039, allocations: 28.39 MB / 1.004 GB, free: 10.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.64, allocations: 7.797 kB / 1.004 GB, free: 10.79 MB / 0.795 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.408854841720313] Failed to read output from testmodel.py, exit status != 0: 14.844352953135967 14.868090293 14.119483717 Calling exit ...