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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 106.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8468/0.8468, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.06 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1539, allocations: 78.86 MB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6465/0.8004, allocations: 224.7 MB / 0.87 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.8211, allocations: 12.66 MB / 0.8824 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.8241, allocations: 75.56 kB / 0.8825 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.8278, allocations: 1.187 MB / 0.8836 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009698/0.8376, allocations: 3.153 MB / 0.8867 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005409/0.843, allocations: 1.823 MB / 0.8885 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007959/0.851, allocations: 4.181 MB / 0.8926 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.8537, allocations: 1.401 MB / 0.8939 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.8589, allocations: 2.12 MB / 0.896 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.8613, allocations: 1.381 MB / 0.8974 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.8617, allocations: 180 kB / 0.8975 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005449/0.8672, allocations: 2.67 MB / 0.9001 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.8683, allocations: 0.9814 MB / 0.9011 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.8701, allocations: 1.45 MB / 0.9025 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008041/0.8781, allocations: 4.799 MB / 0.9072 GB, free: 12.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.8782, allocations: 0 / 0.9072 GB, free: 12.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8782, allocations: 7.875 kB / 0.9072 GB, free: 12.24 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.649e-05/0.8783, allocations: 0 / 0.9072 GB, free: 12.24 MB / 0.67 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.006566/0.8848, allocations: 3.472 MB / 0.9106 GB, free: 8.688 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.8849, allocations: 8.031 kB / 0.9106 GB, free: 8.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.8851, allocations: 165 kB / 0.9108 GB, free: 8.508 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.8899, allocations: 0.8216 MB / 0.9116 GB, free: 7.684 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008724/0.8986, allocations: 6.303 MB / 0.9177 GB, free: 1.312 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.8988, allocations: 115.8 kB / 0.9178 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.899, allocations: 108 kB / 0.9179 GB, free: 1.086 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.903, allocations: 2.058 MB / 0.9199 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.903, allocations: 0 / 0.9199 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.9032, allocations: 48 kB / 0.92 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.9032, allocations: 38.08 kB / 0.92 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.9084, allocations: 2.565 MB / 0.9225 GB, free: 12.3 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.01514/0.9236, allocations: 9.53 MB / 0.9318 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.9278, allocations: 2.163 MB / 0.9339 GB, free: 256 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.9298, allocations: 0.9444 MB / 0.9349 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.931, allocations: 1.061 MB / 0.9359 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.933, allocations: 1.02 MB / 0.9369 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=91): time 3.246e-06/0.933, allocations: 0 / 0.9369 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91): time 0.0236/0.9566, allocations: 5.959 MB / 0.9427 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.9568, allocations: 149.1 kB / 0.9429 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/0.969, allocations: 8.879 MB / 0.9515 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.9693, allocations: 41.7 kB / 0.9516 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.9705, allocations: 1.115 MB / 0.9527 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.9709, allocations: 313.3 kB / 0.953 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.9713, allocations: 222.5 kB / 0.9532 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9715, allocations: 349.9 kB / 0.9535 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.9737, allocations: 1.088 MB / 0.9546 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.976, allocations: 1.301 MB / 0.9558 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.98, allocations: 2.179 MB / 0.958 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.98, allocations: 3.938 kB / 0.958 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008823/0.9889, allocations: 3.7 MB / 0.9616 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.989, allocations: 75.33 kB / 0.9617 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.989, allocations: 7.984 kB / 0.9617 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.9939, allocations: 1.987 MB / 0.9636 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9949, allocations: 179.8 kB / 0.9638 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009721/1.005, allocations: 6.795 MB / 0.9704 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.007, allocations: 235 kB / 0.9706 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.007, allocations: 55.91 kB / 0.9707 GB, free: 9.637 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.001162/1.008, allocations: 0.6723 MB / 0.9713 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/1.009, allocations: 282.2 kB / 0.9716 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00807/1.017, allocations: 3.205 MB / 0.9747 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.017, allocations: 23.98 kB / 0.9748 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.017, allocations: 0 / 0.9748 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.017, allocations: 3.984 kB / 0.9748 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.03, allocations: 5.903 MB / 0.9805 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.03, allocations: 4 kB / 0.9805 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/1.03, allocations: 96.22 kB / 0.9806 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004622/1.035, allocations: 1.975 MB / 0.9826 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.035, allocations: 27.98 kB / 0.9826 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00944/1.045, allocations: 6.737 MB / 0.9892 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.045, allocations: 4 kB / 0.9892 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008472/1.053, allocations: 3.285 MB / 0.9924 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.055, allocations: 0.6237 MB / 0.993 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/1.055, allocations: 24 kB / 0.993 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.057, allocations: 124.6 kB / 0.9931 GB, free: 2.031 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.057, allocations: 72.5 kB / 0.9932 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.058, allocations: 51.91 kB / 0.9932 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008498/1.066, allocations: 6.827 MB / 0.9999 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/1.066, allocations: 4 kB / 0.9999 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002378/1.068, allocations: 0.7295 MB / 1.001 GB, free: 10.34 MB / 0.7637 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.009447/1.078, allocations: 4.254 MB / 1.005 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005427/1.083, allocations: 2.643 MB / 1.007 GB, free: 3.32 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.083, allocations: 8.125 kB / 1.007 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/1.086, allocations: 1.414 MB / 1.009 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004765/1.091, allocations: 1.03 MB / 1.01 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06548/1.156, allocations: 41.51 MB / 1.05 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.158, allocations: 1.68 MB / 1.052 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001557/1.16, allocations: 434.9 kB / 1.052 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.161, allocations: 0.9523 MB / 1.053 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of SimCode: time 9.52e-07/1.161, allocations: 0 / 1.053 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4208/1.582, allocations: 78.38 MB / 1.13 GB, free: 272 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/19.61, allocations: 22.09 kB / 1.13 GB, free: 272 MB / 0.8106 GB (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 --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)