Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001568/0.001568, 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.001556/0.001556, 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.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002267/0.002267, allocations: 67.89 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3188/1.395, allocations: 228.7 MB / 1.545 GB, free: 4.398 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02314/1.418, allocations: 12.7 MB / 1.557 GB, free: 7.664 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/1.422, allocations: 95.19 kB / 1.557 GB, free: 7.57 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004371/1.427, allocations: 1.236 MB / 1.559 GB, free: 6.328 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.438, allocations: 3.278 MB / 1.562 GB, free: 3.039 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006704/1.445, allocations: 1.837 MB / 1.564 GB, free: 1.215 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007754/1.452, allocations: 4.165 MB / 1.568 GB, free: 13.04 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/1.455, allocations: 1.175 MB / 1.569 GB, free: 11.83 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/1.462, allocations: 2.185 MB / 1.571 GB, free: 9.641 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/1.466, allocations: 1.457 MB / 1.572 GB, free: 8.18 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0007288/1.466, allocations: 180 kB / 1.573 GB, free: 8.004 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/1.473, allocations: 2.799 MB / 1.575 GB, free: 5.199 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/1.475, allocations: 1.012 MB / 1.576 GB, free: 4.184 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/1.478, allocations: 1.442 MB / 1.578 GB, free: 2.734 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.488, allocations: 4.827 MB / 1.582 GB, free: 13.89 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.488, allocations: 0 / 1.582 GB, free: 13.89 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.084e-06/1.488, allocations: 3.938 kB / 1.582 GB, free: 13.89 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001372/1.488, allocations: 0 / 1.582 GB, free: 13.89 MB / 1.264 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.009905/1.498, allocations: 3.48 MB / 1.586 GB, free: 10.32 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.498, allocations: 11.98 kB / 1.586 GB, free: 10.31 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.986e-05/1.498, allocations: 30.09 kB / 1.586 GB, free: 10.28 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004881/1.499, allocations: 165 kB / 1.586 GB, free: 10.11 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/1.504, allocations: 0.8177 MB / 1.587 GB, free: 9.289 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/1.515, allocations: 6.303 MB / 1.593 GB, free: 2.918 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/1.515, allocations: 131.8 kB / 1.593 GB, free: 2.781 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/1.516, allocations: 111.9 kB / 1.593 GB, free: 2.672 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/1.521, allocations: 2.05 MB / 1.595 GB, free: 0.5508 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/1.521, allocations: 3.984 kB / 1.595 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/1.521, allocations: 44 kB / 1.595 GB, free: 0.5039 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/1.521, allocations: 42.08 kB / 1.595 GB, free: 472 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/1.527, allocations: 2.565 MB / 1.598 GB, free: 13.89 MB / 1.279 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.01802/1.545, allocations: 9.529 MB / 1.607 GB, free: 4.043 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/1.55, allocations: 2.099 MB / 1.609 GB, free: 1.898 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/1.552, allocations: 0.8943 MB / 1.61 GB, free: 1.004 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.553, allocations: 1.06 MB / 1.611 GB, free: 15.72 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/1.556, allocations: 1.008 MB / 1.612 GB, free: 14.69 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.867e-06/1.556, allocations: 0 / 1.612 GB, free: 14.69 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02488/1.581, allocations: 5.952 MB / 1.618 GB, free: 8.629 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.581, allocations: 149.2 kB / 1.618 GB, free: 8.453 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/1.595, allocations: 8.891 MB / 1.627 GB, free: 15.55 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.595, allocations: 41.7 kB / 1.627 GB, free: 15.5 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.597, allocations: 1.123 MB / 1.628 GB, free: 14.37 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/1.597, allocations: 313.3 kB / 1.628 GB, free: 14.06 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00068/1.598, allocations: 214.5 kB / 1.628 GB, free: 13.84 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.598, allocations: 349.9 kB / 1.629 GB, free: 13.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/1.601, allocations: 1.092 MB / 1.63 GB, free: 12.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/1.603, allocations: 1.297 MB / 1.631 GB, free: 11.04 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004371/1.608, allocations: 2.175 MB / 1.633 GB, free: 8.773 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/1.608, allocations: 3.984 kB / 1.633 GB, free: 8.77 MB / 1.311 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0123/1.62, allocations: 3.688 MB / 1.637 GB, free: 5.051 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.62, allocations: 75.38 kB / 1.637 GB, free: 4.965 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/1.62, allocations: 4 kB / 1.637 GB, free: 4.961 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/1.626, allocations: 1.975 MB / 1.639 GB, free: 2.973 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.627, allocations: 187.7 kB / 1.639 GB, free: 2.789 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.639, allocations: 6.793 MB / 1.645 GB, free: 11.66 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.642, allocations: 250.8 kB / 1.646 GB, free: 11.42 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.642, allocations: 59.91 kB / 1.646 GB, free: 11.36 MB / 1.326 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.001776/1.644, allocations: 0.6531 MB / 1.646 GB, free: 10.68 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.645, allocations: 282.2 kB / 1.647 GB, free: 10.41 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/1.655, allocations: 3.198 MB / 1.65 GB, free: 7.168 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/1.655, allocations: 11.94 kB / 1.65 GB, free: 7.156 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.655, allocations: 4 kB / 1.65 GB, free: 7.152 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/1.655, allocations: 3.984 kB / 1.65 GB, free: 7.148 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.671, allocations: 5.887 MB / 1.656 GB, free: 1.137 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.671, allocations: 7.938 kB / 1.656 GB, free: 1.129 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/1.672, allocations: 104.2 kB / 1.656 GB, free: 1.027 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/1.678, allocations: 1.983 MB / 1.658 GB, free: 15.03 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.678, allocations: 27.98 kB / 1.658 GB, free: 15 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/1.688, allocations: 6.73 MB / 1.664 GB, free: 7.945 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.688, allocations: 4 kB / 1.664 GB, free: 7.941 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009694/1.698, allocations: 3.273 MB / 1.667 GB, free: 4.586 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/1.7, allocations: 0.6237 MB / 1.668 GB, free: 3.941 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.701, allocations: 28 kB / 1.668 GB, free: 3.914 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.704, allocations: 123.4 kB / 1.668 GB, free: 3.797 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/1.704, allocations: 76.5 kB / 1.668 GB, free: 3.723 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.704, allocations: 39.98 kB / 1.668 GB, free: 3.684 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01003/1.714, allocations: 6.839 MB / 1.675 GB, free: 12.84 MB / 1.357 GB Notification: Performance of sort global known variables: time 3.41e-07/1.714, allocations: 0 / 1.675 GB, free: 12.84 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.004008/1.718, allocations: 0.7412 MB / 1.676 GB, free: 12.1 MB / 1.357 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.01152/1.73, allocations: 4.222 MB / 1.68 GB, free: 7.793 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.006594/1.737, allocations: 2.526 MB / 1.682 GB, free: 5.219 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.737, allocations: 448 / 1.682 GB, free: 5.219 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/1.74, allocations: 1.332 MB / 1.684 GB, free: 3.832 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007141/1.747, allocations: 1.023 MB / 1.685 GB, free: 2.816 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0844/1.831, allocations: 41.5 MB / 1.725 GB, free: 8.906 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.834, allocations: 1.676 MB / 1.727 GB, free: 7.195 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.001929/1.835, allocations: 435 kB / 1.727 GB, free: 6.766 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.837, allocations: 0.9601 MB / 1.728 GB, free: 5.805 MB / 1.404 GB Notification: Performance of SimCode: time 1.112e-06/1.837, allocations: 0 / 1.728 GB, free: 5.805 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/2.003, allocations: 78.95 MB / 1.805 GB, free: 7.621 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/20.56, allocations: 6.875 kB / 1.805 GB, free: 7.617 MB / 1.482 GB " [Timeout remaining time 279] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 27.510556248016655] Failed to read output from testmodel.py, exit status != 0: 20.765051642025355 20.788884102 19.296141784 Calling exit ...