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.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 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.001172/0.001172, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.575/2.575, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 72.91 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2541, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.181/0.4351, allocations: 176.2 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4764/0.9116, allocations: 15.65 MB / 1.251 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.9129, allocations: 29.97 kB / 1.251 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.9142, allocations: 0.6109 MB / 1.252 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.9173, allocations: 1.568 MB / 1.254 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.9203, allocations: 1.675 MB / 1.255 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.9228, allocations: 2.888 MB / 1.258 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.9247, allocations: 1.844 MB / 1.26 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.9275, allocations: 1.366 MB / 1.261 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.9286, allocations: 1.046 MB / 1.262 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.9288, allocations: 200.2 kB / 1.262 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.9309, allocations: 1.311 MB / 1.264 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.9313, allocations: 0.5673 MB / 1.264 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.9322, allocations: 1.034 MB / 1.265 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.9351, allocations: 2.962 MB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9351, allocations: 0.7812 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9351, allocations: 0 / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.9352, allocations: 0 / 1.268 GB, free: 4.219 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003769/0.9389, allocations: 2.305 MB / 1.27 GB, free: 19.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.939, allocations: 10.44 kB / 1.27 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.9393, allocations: 238.6 kB / 1.271 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.9421, allocations: 471.7 kB / 1.271 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.9436, allocations: 1.093 MB / 1.272 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.9436, allocations: 124.5 kB / 1.272 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.9438, allocations: 157.3 kB / 1.272 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.9466, allocations: 1.784 MB / 1.274 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.9466, allocations: 2.828 kB / 1.274 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.9468, allocations: 70.14 kB / 1.274 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/0.9469, allocations: 52.08 kB / 1.274 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.95, allocations: 1.769 MB / 1.276 GB, free: 18.32 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.007231/0.9572, allocations: 6.209 MB / 1.282 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.9596, allocations: 1.571 MB / 1.284 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.9605, allocations: 0.568 MB / 1.284 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009007/0.9614, allocations: 0.8852 MB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.9626, allocations: 0.8096 MB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 2.655e-06/0.9626, allocations: 2.156 kB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004231/0.9668, allocations: 1.88 MB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.967, allocations: 197 kB / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.968, allocations: 0.9811 MB / 1.289 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.9681, allocations: 52.05 kB / 1.289 GB, free: 13.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.9685, allocations: 0.6626 MB / 1.289 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.9687, allocations: 418.7 kB / 1.29 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.969, allocations: 217.6 kB / 1.29 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9692, allocations: 350.1 kB / 1.29 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.9699, allocations: 424.9 kB / 1.291 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/0.9708, allocations: 0.5963 MB / 1.291 GB, free: 12.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.9725, allocations: 1.014 MB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9725, allocations: 1 kB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002558/0.9751, allocations: 1.298 MB / 1.294 GB, free: 12.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9751, allocations: 6.719 kB / 1.294 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9751, allocations: 6.344 kB / 1.294 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.9757, allocations: 88.41 kB / 1.294 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.9768, allocations: 284.6 kB / 1.294 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03944/1.016, allocations: 1.646 MB / 1.296 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.018, allocations: 135.3 kB / 1.296 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.018, allocations: 49.72 kB / 1.296 GB, free: 10.77 MB / 1.014 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.0008887/1.019, allocations: 381.7 kB / 1.296 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.019, allocations: 136.2 kB / 1.296 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.023, allocations: 1.61 MB / 1.298 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.023, allocations: 13.97 kB / 1.298 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.023, allocations: 4.594 kB / 1.298 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.023, allocations: 6.844 kB / 1.298 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/1.028, allocations: 3.181 MB / 1.301 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.028, allocations: 0 / 1.301 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.029, allocations: 267.6 kB / 1.301 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/1.029, allocations: 80.06 kB / 1.301 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/1.029, allocations: 37.84 kB / 1.301 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/1.031, allocations: 1.68 MB / 1.303 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.031, allocations: 0 / 1.303 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/1.035, allocations: 2.178 MB / 1.305 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.035, allocations: 403.3 kB / 1.305 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.035, allocations: 26.56 kB / 1.306 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.036, allocations: 86.17 kB / 1.306 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.037, allocations: 93.75 kB / 1.306 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.037, allocations: 64.33 kB / 1.306 GB, free: 8.199 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007358/1.037, allocations: 0.6838 MB / 1.306 GB, free: 8.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.037, allocations: 0 / 1.306 GB, free: 8.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001165/1.039, allocations: 0.5427 MB / 1.307 GB, free: 8 MB / 1.014 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.005762/1.044, allocations: 3.347 MB / 1.31 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003529/1.048, allocations: 1.66 MB / 1.312 GB, free: 6.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.048, allocations: 1.312 kB / 1.312 GB, free: 6.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.049, allocations: 0.7644 MB / 1.313 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/1.051, allocations: 0.5699 MB / 1.313 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.065, allocations: 10.7 MB / 1.324 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/1.066, allocations: 1.304 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001634/1.068, allocations: 446 kB / 1.325 GB, free: 2.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/1.069, allocations: 0.6631 MB / 1.326 GB, free: 2.219 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.069, allocations: 0 / 1.326 GB, free: 2.219 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6475/1.716, allocations: 37.05 MB / 1.362 GB, free: 15.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.78, allocations: 11.91 kB / 1.362 GB, free: 15.74 MB / 1.045 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)