Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001771/0.001771, allocations: 116.2 kB / 17.13 MB, free: 5.777 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.002006/0.002006, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.428/1.428, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8503/0.8503, allocations: 129.2 MB / 432.5 MB, free: 13.53 MB / 350.1 MB " [Timeout remaining time 179] 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.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.83 kB / 0.5987 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4274, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6224/1.05, allocations: 225.7 MB / 0.9005 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01948/1.069, allocations: 12.69 MB / 0.9129 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/1.072, allocations: 70.69 kB / 0.913 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003122/1.076, allocations: 1.227 MB / 0.9142 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009421/1.085, allocations: 3.287 MB / 0.9174 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/1.09, allocations: 1.841 MB / 0.9192 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006973/1.097, allocations: 4.16 MB / 0.9233 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/1.1, allocations: 1.172 MB / 0.9244 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006513/1.107, allocations: 2.156 MB / 0.9265 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/1.11, allocations: 1.473 MB / 0.9279 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008301/1.111, allocations: 181.3 kB / 0.9281 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/1.119, allocations: 2.785 MB / 0.9308 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/1.12, allocations: 1.012 MB / 0.9318 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/1.124, allocations: 1.44 MB / 0.9332 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.135, allocations: 4.795 MB / 0.9379 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/1.135, allocations: 7.531 kB / 0.9379 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/1.135, allocations: 0 / 0.9379 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001659/1.135, allocations: 1 kB / 0.9379 GB, free: 15.97 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.01092/1.146, allocations: 3.464 MB / 0.9413 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.146, allocations: 11.56 kB / 0.9413 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/1.146, allocations: 167.3 kB / 0.9415 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/1.152, allocations: 0.8235 MB / 0.9423 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009527/1.161, allocations: 6.304 MB / 0.9484 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/1.161, allocations: 122.2 kB / 0.9486 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/1.162, allocations: 110.5 kB / 0.9487 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/1.167, allocations: 2.054 MB / 0.9507 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/1.167, allocations: 0 / 0.9507 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/1.167, allocations: 45 kB / 0.9507 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/1.167, allocations: 53.81 kB / 0.9508 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005222/1.173, allocations: 2.561 MB / 0.9533 GB, free: 9.785 MB / 0.6856 GB 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.01887/1.191, allocations: 9.522 MB / 0.9626 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/1.196, allocations: 2.102 MB / 0.9646 GB, free: 64 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/1.198, allocations: 0.8934 MB / 0.9655 GB, free: 15.17 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.2, allocations: 1.058 MB / 0.9665 GB, free: 13.9 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002445/1.202, allocations: 1.012 MB / 0.9675 GB, free: 12.86 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=91): time 4.889e-06/1.202, allocations: 0 / 0.9675 GB, free: 12.86 MB / 0.7013 GB Notification: Performance of matching and sorting (n=91): time 0.02573/1.228, allocations: 5.959 MB / 0.9733 GB, free: 6.809 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.228, allocations: 145.2 kB / 0.9735 GB, free: 6.637 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/1.244, allocations: 8.885 MB / 0.9821 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.244, allocations: 41.7 kB / 0.9822 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.246, allocations: 1.113 MB / 0.9833 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/1.247, allocations: 318.3 kB / 0.9836 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/1.248, allocations: 217.7 kB / 0.9838 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.248, allocations: 345.9 kB / 0.9841 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.25, allocations: 1.084 MB / 0.9852 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/1.253, allocations: 1.301 MB / 0.9864 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004354/1.257, allocations: 2.182 MB / 0.9886 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/1.257, allocations: 4 kB / 0.9886 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009767/1.267, allocations: 3.681 MB / 0.9922 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/1.267, allocations: 79.36 kB / 0.9922 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/1.267, allocations: 4 kB / 0.9922 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/1.272, allocations: 1.979 MB / 0.9942 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.273, allocations: 183.6 kB / 0.9944 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.284, allocations: 6.791 MB / 1.001 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/1.287, allocations: 250.9 kB / 1.001 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/1.287, allocations: 52.23 kB / 1.001 GB, free: 9.668 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001548/1.289, allocations: 0.6594 MB / 1.002 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.29, allocations: 290.1 kB / 1.002 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/1.298, allocations: 3.199 MB / 1.005 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/1.298, allocations: 12 kB / 1.005 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.298, allocations: 3.938 kB / 1.005 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.298, allocations: 3.984 kB / 1.005 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.315, allocations: 5.873 MB / 1.011 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.315, allocations: 0 / 1.011 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007505/1.316, allocations: 109.3 kB / 1.011 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/1.321, allocations: 1.963 MB / 1.013 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/1.321, allocations: 31.98 kB / 1.013 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/1.332, allocations: 6.746 MB / 1.02 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.332, allocations: 6.469 kB / 1.02 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009144/1.341, allocations: 3.278 MB / 1.023 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/1.343, allocations: 0.616 MB / 1.024 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009692/1.344, allocations: 28 kB / 1.024 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.346, allocations: 131.3 kB / 1.024 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.346, allocations: 75.12 kB / 1.024 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.346, allocations: 39.97 kB / 1.024 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.009492/1.356, allocations: 6.832 MB / 1.03 GB, free: 11.27 MB / 0.7638 GB Notification: Performance of sort global known variables: time 4.11e-07/1.356, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.003197/1.359, allocations: 0.7334 MB / 1.031 GB, free: 10.54 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/1.37, allocations: 4.234 MB / 1.035 GB, free: 6.27 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.005679/1.375, allocations: 2.541 MB / 1.038 GB, free: 3.703 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.375, allocations: 0 / 1.038 GB, free: 3.703 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.378, allocations: 1.335 MB / 1.039 GB, free: 2.34 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006306/1.385, allocations: 1.018 MB / 1.04 GB, free: 1.328 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07552/1.46, allocations: 41.49 MB / 1.081 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/1.462, allocations: 1.684 MB / 1.082 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001871/1.464, allocations: 427 kB / 1.083 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.466, allocations: 0.9522 MB / 1.084 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of SimCode: time 1.163e-06/1.466, allocations: 4 kB / 1.084 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/1.663, allocations: 78.9 MB / 1.161 GB, free: 6.531 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.6, allocations: 11.17 kB / 1.161 GB, free: 6.527 MB / 0.8888 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.221916587091982] Failed to read output from testmodel.py, exit status != 0: 19.749847792088985 19.770640437 18.631319277 Calling exit ...