Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_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.00497/0.00497, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001354/0.001354, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.331/2.331, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 68.11 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5876, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1706/0.7582, allocations: 176.2 MB / 1.392 GB, free: 1.168 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.7758, allocations: 15.67 MB / 1.407 GB, free: 1.438 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.7765, allocations: 31.81 kB / 1.408 GB, free: 1.406 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.7778, allocations: 0.605 MB / 1.408 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.7808, allocations: 1.574 MB / 1.41 GB, free: 15.22 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.784, allocations: 1.682 MB / 1.411 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.7866, allocations: 2.91 MB / 1.414 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.7886, allocations: 1.848 MB / 1.416 GB, free: 8.719 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.7913, allocations: 1.382 MB / 1.417 GB, free: 7.367 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.7924, allocations: 1.046 MB / 1.418 GB, free: 6.316 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.7927, allocations: 196 kB / 1.418 GB, free: 6.125 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.7947, allocations: 1.334 MB / 1.42 GB, free: 4.789 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.7952, allocations: 0.5686 MB / 1.42 GB, free: 4.219 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.7961, allocations: 1.034 MB / 1.421 GB, free: 3.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.7991, allocations: 3.032 MB / 1.424 GB, free: 140 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.7991, allocations: 0 / 1.424 GB, free: 140 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7991, allocations: 0 / 1.424 GB, free: 140 kB / 1.139 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.7992, allocations: 3.984 kB / 1.424 GB, free: 136 kB / 1.139 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.003457/0.8026, allocations: 2.361 MB / 1.427 GB, free: 13.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.8027, allocations: 12.03 kB / 1.427 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.8029, allocations: 240.3 kB / 1.427 GB, free: 13.44 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.8055, allocations: 474.2 kB / 1.427 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.8071, allocations: 1.153 MB / 1.428 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.8072, allocations: 123.1 kB / 1.429 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.8074, allocations: 156 kB / 1.429 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.8101, allocations: 1.788 MB / 1.43 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.8101, allocations: 0 / 1.43 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.8103, allocations: 72 kB / 1.431 GB, free: 9.566 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.8103, allocations: 47.94 kB / 1.431 GB, free: 9.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.8132, allocations: 1.772 MB / 1.432 GB, free: 7.742 MB / 1.154 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.007298/0.8205, allocations: 6.155 MB / 1.438 GB, free: 1.227 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.823, allocations: 1.559 MB / 1.44 GB, free: 15.6 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009494/0.824, allocations: 0.5659 MB / 1.44 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000848/0.8249, allocations: 0.8866 MB / 1.441 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.8262, allocations: 0.8023 MB / 1.442 GB, free: 13.15 MB / 1.17 GB Notification: Performance of pre-optimization done (n=126): time 2.054e-06/0.8262, allocations: 0 / 1.442 GB, free: 13.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=126): time 0.004246/0.8304, allocations: 1.891 MB / 1.444 GB, free: 11.23 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8306, allocations: 200.9 kB / 1.444 GB, free: 10.99 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.8317, allocations: 0.9798 MB / 1.445 GB, free: 9.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.8318, allocations: 57.7 kB / 1.445 GB, free: 9.93 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.8323, allocations: 0.6658 MB / 1.446 GB, free: 9.254 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.8326, allocations: 440.2 kB / 1.446 GB, free: 8.82 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.833, allocations: 218.8 kB / 1.446 GB, free: 8.602 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8331, allocations: 353.9 kB / 1.447 GB, free: 8.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.8339, allocations: 426.4 kB / 1.447 GB, free: 7.832 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.8349, allocations: 0.5956 MB / 1.448 GB, free: 7.191 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.8367, allocations: 1.019 MB / 1.449 GB, free: 6.148 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8367, allocations: 0 / 1.449 GB, free: 6.148 MB / 1.17 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002629/0.8394, allocations: 1.313 MB / 1.45 GB, free: 4.824 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.8394, allocations: 4 kB / 1.45 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8394, allocations: 0 / 1.45 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.8399, allocations: 88.92 kB / 1.45 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.8411, allocations: 279.6 kB / 1.45 GB, free: 4.457 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.843, allocations: 1.654 MB / 1.452 GB, free: 2.656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.8439, allocations: 143.2 kB / 1.452 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.844, allocations: 43.97 kB / 1.452 GB, free: 2.473 MB / 1.17 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.0004934/0.8445, allocations: 382.6 kB / 1.452 GB, free: 2.094 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.8447, allocations: 147 kB / 1.453 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.8479, allocations: 1.606 MB / 1.454 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.8479, allocations: 12 kB / 1.454 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.8479, allocations: 0 / 1.454 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8479, allocations: 7.969 kB / 1.454 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.8527, allocations: 3.179 MB / 1.457 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8528, allocations: 3.938 kB / 1.457 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.8539, allocations: 275.6 kB / 1.458 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.8543, allocations: 72.78 kB / 1.458 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.8544, allocations: 39.97 kB / 1.458 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.8562, allocations: 1.67 MB / 1.459 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8562, allocations: 0 / 1.459 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.8601, allocations: 2.19 MB / 1.461 GB, free: 8.652 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.8607, allocations: 407.6 kB / 1.462 GB, free: 8.234 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.8608, allocations: 28.06 kB / 1.462 GB, free: 8.207 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.8618, allocations: 86.16 kB / 1.462 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.862, allocations: 93.17 kB / 1.462 GB, free: 8.035 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.8621, allocations: 63.95 kB / 1.462 GB, free: 7.973 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008319/0.8629, allocations: 0.688 MB / 1.463 GB, free: 7.277 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8629, allocations: 0 / 1.463 GB, free: 7.277 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001035/0.864, allocations: 0.5493 MB / 1.463 GB, free: 6.727 MB / 1.186 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.005979/0.8699, allocations: 3.352 MB / 1.467 GB, free: 3.535 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.8722, allocations: 1.247 MB / 1.468 GB, free: 2.273 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8722, allocations: 4.875 kB / 1.468 GB, free: 2.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.8735, allocations: 0.7557 MB / 1.469 GB, free: 1.504 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.8755, allocations: 0.5725 MB / 1.469 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.8905, allocations: 10.07 MB / 1.479 GB, free: 6.695 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/0.8914, allocations: 1.315 MB / 1.48 GB, free: 5.348 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001179/0.8926, allocations: 438.7 kB / 1.481 GB, free: 4.914 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008627/0.8935, allocations: 0.6672 MB / 1.481 GB, free: 4.246 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.8935, allocations: 0 / 1.481 GB, free: 4.246 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.462/3.356, allocations: 37.4 MB / 1.518 GB, free: 15.31 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/19.74, allocations: 4.062 kB / 1.518 GB, free: 15.31 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)