Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 198 kB / 16.54 MB, free: 6.672 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.236/2.236, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5055, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1782/0.6837, allocations: 176.2 MB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.703, allocations: 15.65 MB / 1.205 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.7043, allocations: 31.81 kB / 1.205 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.706, allocations: 0.6129 MB / 1.205 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.7099, allocations: 1.572 MB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.7136, allocations: 1.665 MB / 1.209 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.7167, allocations: 2.898 MB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.7189, allocations: 1.844 MB / 1.213 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.7218, allocations: 1.378 MB / 1.215 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.7229, allocations: 1.054 MB / 1.216 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.7232, allocations: 196 kB / 1.216 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.7256, allocations: 1.299 MB / 1.217 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.7261, allocations: 0.5725 MB / 1.218 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009583/0.7271, allocations: 1.034 MB / 1.219 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.7303, allocations: 2.956 MB / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7303, allocations: 0 / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7303, allocations: 0 / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.7304, allocations: 0 / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003817/0.7342, allocations: 2.322 MB / 1.224 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7342, allocations: 8.031 kB / 1.224 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002615/0.7345, allocations: 240.3 kB / 1.224 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.7376, allocations: 465 kB / 1.224 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.7392, allocations: 1.093 MB / 1.225 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.7393, allocations: 119.2 kB / 1.226 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.7395, allocations: 163.9 kB / 1.226 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.7424, allocations: 1.788 MB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.7424, allocations: 3.938 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.7426, allocations: 72 kB / 1.228 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.7427, allocations: 51.98 kB / 1.228 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/0.7457, allocations: 1.768 MB / 1.229 GB, free: 8.465 MB / 0.9825 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.008024/0.7538, allocations: 6.21 MB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.7566, allocations: 1.551 MB / 1.237 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.7576, allocations: 0.566 MB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/0.7585, allocations: 0.8866 MB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.7599, allocations: 0.8088 MB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 2.906e-06/0.7599, allocations: 0 / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.004797/0.7647, allocations: 1.879 MB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.7649, allocations: 196.9 kB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.7661, allocations: 0.9837 MB / 1.242 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.7663, allocations: 57.58 kB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.7668, allocations: 0.6606 MB / 1.243 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.7672, allocations: 418 kB / 1.243 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.7675, allocations: 214.8 kB / 1.243 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7677, allocations: 349.9 kB / 1.244 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/0.7686, allocations: 426.4 kB / 1.244 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.7699, allocations: 0.5936 MB / 1.245 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.7719, allocations: 1.015 MB / 1.246 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7719, allocations: 0 / 1.246 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002894/0.7748, allocations: 1.304 MB / 1.247 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7748, allocations: 4 kB / 1.247 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7748, allocations: 4 kB / 1.247 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.7755, allocations: 80.94 kB / 1.247 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.7768, allocations: 291.6 kB / 1.247 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.7788, allocations: 1.65 MB / 1.249 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7799, allocations: 131 kB / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.78, allocations: 47.97 kB / 1.249 GB, free: 3.195 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/0.7806, allocations: 386.2 kB / 1.25 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.7809, allocations: 138.3 kB / 1.25 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.7845, allocations: 1.614 MB / 1.251 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7845, allocations: 12 kB / 1.251 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7845, allocations: 0 / 1.251 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.7845, allocations: 11.92 kB / 1.251 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3774/1.162, allocations: 3.165 MB / 1.254 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.162, allocations: 0.6562 kB / 1.254 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.163, allocations: 268.8 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/1.164, allocations: 74.61 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.689e-05/1.164, allocations: 34.97 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/1.166, allocations: 1.668 MB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.166, allocations: 3.734 kB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/1.17, allocations: 2.176 MB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/1.171, allocations: 400.3 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/1.171, allocations: 31.45 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.172, allocations: 90.64 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.172, allocations: 97.48 kB / 1.259 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.172, allocations: 61.06 kB / 1.259 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009226/1.173, allocations: 0.6853 MB / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 0 / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001313/1.175, allocations: 0.5443 MB / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005804/1.18, allocations: 3.332 MB / 1.264 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004284/1.185, allocations: 1.662 MB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.185, allocations: 4.875 kB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.186, allocations: 0.7614 MB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.188, allocations: 0.5743 MB / 1.266 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/1.203, allocations: 10.71 MB / 1.277 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/1.204, allocations: 1.309 MB / 1.278 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001673/1.205, allocations: 442.3 kB / 1.279 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/1.206, allocations: 0.6648 MB / 1.279 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.206, allocations: 0 / 1.279 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6891/1.895, allocations: 37.05 MB / 1.315 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.96, allocations: 2.594 kB / 1.315 GB, free: 187.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)