Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_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.001179/0.001179, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001088/0.001088, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.534/2.534, allocations: 482.4 MB / 0.7544 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 67.48 kB / 0.9235 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 162.2 MB / 1.082 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6267/0.8667, allocations: 221.9 MB / 1.299 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.8808, allocations: 12.6 MB / 1.311 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.8831, allocations: 60.19 kB / 1.311 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.8853, allocations: 1.092 MB / 1.312 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.8913, allocations: 2.94 MB / 1.315 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.8952, allocations: 1.658 MB / 1.316 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.8992, allocations: 4.171 MB / 1.321 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.9007, allocations: 1.388 MB / 1.322 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.9041, allocations: 2.116 MB / 1.324 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.9057, allocations: 1.48 MB / 1.325 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.9059, allocations: 180.6 kB / 1.326 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.91, allocations: 2.759 MB / 1.328 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.9106, allocations: 0.9811 MB / 1.329 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.9117, allocations: 1.437 MB / 1.331 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.916, allocations: 4.832 MB / 1.335 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.916, allocations: 0 / 1.335 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.916, allocations: 0 / 1.335 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.9161, allocations: 3.375 kB / 1.335 GB, free: 3.59 MB / 0.9981 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.004166/0.9202, allocations: 3.344 MB / 1.339 GB, free: 17.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.9203, allocations: 10.16 kB / 1.339 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.9204, allocations: 168.5 kB / 1.339 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.9242, allocations: 0.8064 MB / 1.34 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.9294, allocations: 6.231 MB / 1.346 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.93, allocations: 229.6 kB / 1.346 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.9301, allocations: 109.4 kB / 1.346 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.9331, allocations: 2.059 MB / 1.348 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.9332, allocations: 0 / 1.348 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.9333, allocations: 47.09 kB / 1.348 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.9333, allocations: 42.52 kB / 1.348 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.9371, allocations: 2.571 MB / 1.351 GB, free: 12.79 MB / 1.014 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.01042/0.9476, allocations: 9.5 MB / 1.36 GB, free: 7.859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.9509, allocations: 2.162 MB / 1.362 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.9524, allocations: 0.9418 MB / 1.363 GB, free: 6.754 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.9535, allocations: 1.06 MB / 1.364 GB, free: 5.609 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.9551, allocations: 1.016 MB / 1.365 GB, free: 5.227 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 2.335e-06/0.9551, allocations: 0 / 1.365 GB, free: 5.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.01643/0.9715, allocations: 5.153 MB / 1.37 GB, free: 3.211 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.9716, allocations: 151.3 kB / 1.37 GB, free: 3.043 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009473/0.9811, allocations: 8.869 MB / 1.379 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.9812, allocations: 46.89 kB / 1.379 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009353/0.9822, allocations: 1.098 MB / 1.38 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.9825, allocations: 296.6 kB / 1.38 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.9828, allocations: 213.4 kB / 1.38 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.983, allocations: 348 kB / 1.381 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.9846, allocations: 1.091 MB / 1.382 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.9865, allocations: 1.304 MB / 1.383 GB, free: 12.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.9901, allocations: 2.173 MB / 1.385 GB, free: 9.828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9901, allocations: 0 / 1.385 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005511/0.9956, allocations: 3.332 MB / 1.388 GB, free: 6.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.9957, allocations: 71.39 kB / 1.389 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9957, allocations: 4 kB / 1.389 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.999, allocations: 1.692 MB / 1.39 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1, allocations: 218.1 kB / 1.39 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.004, allocations: 4.031 MB / 1.394 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.006, allocations: 279.8 kB / 1.395 GB, free: 40 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.006, allocations: 50.22 kB / 1.395 GB, free: 15.99 MB / 1.045 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 (92): * Single equations (assignments): 87 * Array equations: 1 * Algorithm blocks: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008649/1.007, allocations: 0.6629 MB / 1.395 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/1.008, allocations: 264.7 kB / 1.396 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/1.014, allocations: 2.942 MB / 1.398 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.014, allocations: 15.98 kB / 1.398 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.014, allocations: 4 kB / 1.398 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.014, allocations: 3.984 kB / 1.398 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/1.023, allocations: 5.63 MB / 1.404 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.023, allocations: 4 kB / 1.404 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/1.024, allocations: 129.4 kB / 1.404 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/1.027, allocations: 1.669 MB / 1.406 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/1.027, allocations: 35.98 kB / 1.406 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004307/1.032, allocations: 4.03 MB / 1.41 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.032, allocations: 0 / 1.41 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/1.038, allocations: 2.991 MB / 1.413 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/1.038, allocations: 0.5951 MB / 1.413 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/1.039, allocations: 28 kB / 1.413 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.04, allocations: 155.7 kB / 1.413 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.04, allocations: 75.22 kB / 1.413 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.041, allocations: 43.92 kB / 1.413 GB, free: 12.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.007042/1.048, allocations: 6.827 MB / 1.42 GB, free: 5.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.048, allocations: 0 / 1.42 GB, free: 5.551 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001955/1.05, allocations: 0.6986 MB / 1.421 GB, free: 4.852 MB / 1.061 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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007039/1.057, allocations: 3.932 MB / 1.425 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004523/1.061, allocations: 2.523 MB / 1.427 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.061, allocations: 0 / 1.427 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.063, allocations: 1.286 MB / 1.428 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/1.067, allocations: 1.021 MB / 1.429 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06727/1.134, allocations: 45.04 MB / 1.473 GB, free: 13.18 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/1.136, allocations: 1.672 MB / 1.475 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001594/1.137, allocations: 450.5 kB / 1.475 GB, free: 11.04 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.139, allocations: 0.9718 MB / 1.476 GB, free: 10.06 MB / 1.123 GB Notification: Performance of SimCode: time 7.31e-07/1.139, allocations: 4 kB / 1.476 GB, free: 10.06 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/2.372, allocations: 77.27 MB / 1.552 GB, free: 13.75 MB / 1.201 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/2.373, allocations: 302.2 kB / 1.552 GB, free: 13.36 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.959/7.332, allocations: 2.344 kB / 1.552 GB, free: 13.36 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1)