Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001169/0.001169, allocations: 195.7 kB / 16.14 MB, free: 6.645 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5077, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1583/0.6661, allocations: 172.9 MB / 1.118 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.6829, allocations: 15.57 MB / 1.133 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.6839, allocations: 35.75 kB / 1.133 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.6852, allocations: 0.4893 MB / 1.134 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.6882, allocations: 1.353 MB / 1.135 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.6914, allocations: 1.484 MB / 1.136 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.694, allocations: 3.18 MB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.6958, allocations: 1.734 MB / 1.141 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.6993, allocations: 1.203 MB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.7002, allocations: 1.003 MB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.7004, allocations: 107.9 kB / 1.143 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.7026, allocations: 1.392 MB / 1.145 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.703, allocations: 490.2 kB / 1.145 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.7037, allocations: 0.9169 MB / 1.146 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.7063, allocations: 2.882 MB / 1.149 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7063, allocations: 0 / 1.149 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7063, allocations: 0 / 1.149 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.7064, allocations: 0 / 1.149 GB, free: 4.656 MB / 0.9044 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.003638/0.71, allocations: 2.292 MB / 1.151 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.7101, allocations: 8.031 kB / 1.151 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.7103, allocations: 244.3 kB / 1.151 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.7134, allocations: 465 kB / 1.152 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.7148, allocations: 1.105 MB / 1.153 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.7149, allocations: 119.2 kB / 1.153 GB, free: 328 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.7151, allocations: 159.9 kB / 1.153 GB, free: 168 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.7179, allocations: 1.784 MB / 1.155 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.7179, allocations: 3.984 kB / 1.155 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.7181, allocations: 72 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.7181, allocations: 48 kB / 1.155 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.7211, allocations: 1.78 MB / 1.157 GB, free: 12.39 MB / 0.92 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.0072/0.7283, allocations: 5.855 MB / 1.163 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.7308, allocations: 1.567 MB / 1.164 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00096/0.7318, allocations: 0.5595 MB / 1.165 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/0.7326, allocations: 0.8867 MB / 1.165 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.734, allocations: 0.8049 MB / 1.166 GB, free: 2.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 2.885e-06/0.734, allocations: 0 / 1.166 GB, free: 2.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.004484/0.7385, allocations: 1.883 MB / 1.168 GB, free: 264 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.7386, allocations: 196.9 kB / 1.168 GB, free: 24 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.7397, allocations: 0.9876 MB / 1.169 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-05/0.7398, allocations: 49.7 kB / 1.169 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.7403, allocations: 0.6607 MB / 1.17 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.7406, allocations: 425.9 kB / 1.17 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.741, allocations: 214.8 kB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7411, allocations: 345.9 kB / 1.171 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.7419, allocations: 426.4 kB / 1.171 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.7429, allocations: 0.5936 MB / 1.172 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.7448, allocations: 1.011 MB / 1.173 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7448, allocations: 0 / 1.173 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00274/0.7476, allocations: 1.308 MB / 1.174 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7476, allocations: 8 kB / 1.174 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.7476, allocations: 4.078 kB / 1.174 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.7482, allocations: 84.94 kB / 1.174 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7495, allocations: 287.6 kB / 1.175 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.7514, allocations: 1.539 MB / 1.176 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7526, allocations: 152.4 kB / 1.176 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.7527, allocations: 47.91 kB / 1.176 GB, free: 7.645 MB / 0.9356 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.0005517/0.7532, allocations: 385.4 kB / 1.177 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.7535, allocations: 138.3 kB / 1.177 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.7569, allocations: 1.602 MB / 1.178 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.7569, allocations: 16 kB / 1.178 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7569, allocations: 3.984 kB / 1.178 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.757, allocations: 3.984 kB / 1.178 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.7619, allocations: 3.169 MB / 1.181 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7619, allocations: 0 / 1.181 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.7631, allocations: 271.6 kB / 1.182 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005059/0.7636, allocations: 80.78 kB / 1.182 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/0.7637, allocations: 47.91 kB / 1.182 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.7655, allocations: 1.552 MB / 1.183 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7655, allocations: 0 / 1.183 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.7695, allocations: 2.176 MB / 1.185 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.77, allocations: 403.1 kB / 1.186 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7702, allocations: 31.98 kB / 1.186 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7714, allocations: 122.4 kB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.7716, allocations: 93.17 kB / 1.186 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7717, allocations: 63.95 kB / 1.186 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000818/0.7725, allocations: 0.6918 MB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.7725, allocations: 0 / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001119/0.7737, allocations: 0.522 MB / 1.187 GB, free: 12.03 MB / 0.9512 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.005599/0.7793, allocations: 3.346 MB / 1.191 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.7816, allocations: 1.24 MB / 1.192 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7816, allocations: 448 / 1.192 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.7829, allocations: 0.7636 MB / 1.193 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7851, allocations: 0.5177 MB / 1.193 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.8036, allocations: 11.5 MB / 1.204 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/0.8044, allocations: 1.303 MB / 1.206 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001599/0.806, allocations: 442.8 kB / 1.206 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/0.8069, allocations: 0.6633 MB / 1.207 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.8069, allocations: 4 kB / 1.207 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.679/2.486, allocations: 35.14 MB / 1.241 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/2.486, allocations: 274.4 kB / 1.241 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/5.408, allocations: 0 / 1.241 GB, free: 4.938 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)