Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008139/0.0008139, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008351/0.0008351, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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 0.9438/0.9438, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7822/0.7822, allocations: 203.8 MB / 0.5042 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001083/0.001083, allocations: 66.75 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4918, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1748/0.6666, allocations: 199.8 MB / 1.013 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.68, allocations: 11.83 MB / 1.024 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6814, allocations: 95.19 kB / 1.025 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.6834, allocations: 1.165 MB / 1.026 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.6882, allocations: 3.302 MB / 1.029 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.6911, allocations: 1.884 MB / 1.031 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.6949, allocations: 4.212 MB / 1.035 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6959, allocations: 1.114 MB / 1.036 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.6987, allocations: 2.224 MB / 1.038 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.7002, allocations: 1.381 MB / 1.04 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.7004, allocations: 180 kB / 1.04 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.7031, allocations: 2.284 MB / 1.042 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005344/0.7037, allocations: 1.005 MB / 1.043 GB, free: 14.44 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.7044, allocations: 1.158 MB / 1.044 GB, free: 13.28 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.7081, allocations: 4.78 MB / 1.049 GB, free: 8.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7081, allocations: 0 / 1.049 GB, free: 8.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7081, allocations: 0 / 1.049 GB, free: 8.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.7081, allocations: 0 / 1.049 GB, free: 8.48 MB / 0.823 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.003521/0.7116, allocations: 3.405 MB / 1.052 GB, free: 5.012 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.7117, allocations: 8.031 kB / 1.052 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.7118, allocations: 173 kB / 1.052 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.7143, allocations: 0.8216 MB / 1.053 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.7187, allocations: 6.239 MB / 1.059 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.7188, allocations: 141.5 kB / 1.059 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.7192, allocations: 112 kB / 1.059 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.7213, allocations: 2.245 MB / 1.062 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.7214, allocations: 4 kB / 1.062 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.7214, allocations: 40 kB / 1.062 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.7215, allocations: 42.08 kB / 1.062 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.7241, allocations: 2.623 MB / 1.064 GB, free: 8.348 MB / 0.8386 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.007249/0.7314, allocations: 8.134 MB / 1.072 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.7341, allocations: 2.01 MB / 1.074 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.7351, allocations: 0.9545 MB / 1.075 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.7354, allocations: 168.5 kB / 1.075 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.7365, allocations: 1.179 MB / 1.076 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=91): time 2.294e-06/0.7365, allocations: 0 / 1.076 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91): time 0.01153/0.7481, allocations: 5.787 MB / 1.082 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.7481, allocations: 149.1 kB / 1.082 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007284/0.7554, allocations: 8.891 MB / 1.091 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.7555, allocations: 57.64 kB / 1.091 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/0.7562, allocations: 1.111 MB / 1.092 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.7564, allocations: 305.4 kB / 1.092 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.7566, allocations: 218.5 kB / 1.092 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.7567, allocations: 345.9 kB / 1.093 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.7579, allocations: 1.153 MB / 1.094 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.7596, allocations: 1.593 MB / 1.095 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.7617, allocations: 2.19 MB / 1.098 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7617, allocations: 4 kB / 1.098 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004765/0.7665, allocations: 3.758 MB / 1.101 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.7665, allocations: 71.39 kB / 1.101 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7665, allocations: 4 kB / 1.101 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.7695, allocations: 1.983 MB / 1.103 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.7699, allocations: 195.6 kB / 1.103 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005416/0.7754, allocations: 6.559 MB / 1.11 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.7765, allocations: 234.9 kB / 1.11 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.7766, allocations: 51.97 kB / 1.11 GB, free: 8.344 MB / 0.8855 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.0009687/0.7775, allocations: 0.6626 MB / 1.111 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.7778, allocations: 278.2 kB / 1.111 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.782, allocations: 3.284 MB / 1.114 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.782, allocations: 8 kB / 1.114 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.782, allocations: 0 / 1.114 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.782, allocations: 7.984 kB / 1.114 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.7888, allocations: 5.539 MB / 1.12 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.7888, allocations: 4 kB / 1.12 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.7891, allocations: 103.8 kB / 1.12 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.7915, allocations: 1.96 MB / 1.122 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.7916, allocations: 31.98 kB / 1.122 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.7969, allocations: 6.495 MB / 1.128 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7969, allocations: 7.969 kB / 1.128 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.8014, allocations: 3.359 MB / 1.131 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.8022, allocations: 0.5446 MB / 1.132 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.8024, allocations: 32.03 kB / 1.132 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.8032, allocations: 123.8 kB / 1.132 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8034, allocations: 80.45 kB / 1.132 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.8034, allocations: 40.23 kB / 1.132 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0051/0.8085, allocations: 6.835 MB / 1.139 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8085, allocations: 0 / 1.139 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001545/0.8101, allocations: 0.7295 MB / 1.14 GB, free: 9.645 MB / 0.9167 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.005273/0.8153, allocations: 4.297 MB / 1.144 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003086/0.8184, allocations: 2.669 MB / 1.146 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8184, allocations: 0 / 1.146 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.82, allocations: 1.39 MB / 1.148 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.8228, allocations: 1.028 MB / 1.149 GB, free: 60 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/1.23, allocations: 41.79 MB / 1.19 GB, free: 291.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/1.23, allocations: 1.112 MB / 1.191 GB, free: 290.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009515/1.231, allocations: 428.9 kB / 1.191 GB, free: 290.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/1.232, allocations: 0.9601 MB / 1.192 GB, free: 289.6 MB / 0.9167 GB Notification: Performance of SimCode: time 2.134e-06/1.232, allocations: 0 / 1.192 GB, free: 289.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08766/1.32, allocations: 80.66 MB / 1.271 GB, free: 210.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.925/11.24, allocations: 4.062 kB / 1.271 GB, free: 210.1 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.246151458937675] Failed to read output from testmodel.py, exit status != 0: 11.368326485157013 11.377799743 10.66810714 Calling exit ...