Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_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.001312/0.001312, 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.001133/0.001133, allocations: 194.5 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.34 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1722/0.4458, allocations: 173.8 MB / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03004/0.4759, allocations: 15.7 MB / 1.237 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.4778, allocations: 27.88 kB / 1.237 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.48, allocations: 0.5087 MB / 1.238 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.4864, allocations: 1.433 MB / 1.239 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.4926, allocations: 1.48 MB / 1.241 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005853/0.4985, allocations: 3.335 MB / 1.244 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.5019, allocations: 1.68 MB / 1.246 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/0.5083, allocations: 1.234 MB / 1.247 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.498/1.006, allocations: 1.023 MB / 1.248 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004557/1.007, allocations: 106.9 kB / 1.248 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/1.009, allocations: 1.399 MB / 1.249 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/1.01, allocations: 491.9 kB / 1.25 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/1.011, allocations: 0.9474 MB / 1.251 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/1.014, allocations: 2.946 MB / 1.254 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.014, allocations: 0 / 1.254 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/1.014, allocations: 1.203 kB / 1.254 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.922e-05/1.014, allocations: 0 / 1.254 GB, free: 5.906 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.003734/1.018, allocations: 2.307 MB / 1.256 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.018, allocations: 12.38 kB / 1.256 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/1.018, allocations: 234.6 kB / 1.256 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/1.021, allocations: 463.1 kB / 1.256 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.022, allocations: 1.105 MB / 1.258 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/1.022, allocations: 121.3 kB / 1.258 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.023, allocations: 159.1 kB / 1.258 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/1.025, allocations: 1.788 MB / 1.26 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/1.025, allocations: 5.156 kB / 1.26 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/1.026, allocations: 67.45 kB / 1.26 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/1.026, allocations: 49.59 kB / 1.26 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/1.029, allocations: 1.771 MB / 1.261 GB, free: 4.02 MB / 0.9981 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.00825/1.037, allocations: 6.177 MB / 1.267 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/1.04, allocations: 1.568 MB / 1.269 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/1.041, allocations: 0.5601 MB / 1.269 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009046/1.042, allocations: 0.886 MB / 1.27 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/1.043, allocations: 0.7981 MB / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.777e-06/1.043, allocations: 0 / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005125/1.048, allocations: 1.889 MB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.048, allocations: 199.4 kB / 1.273 GB, free: 15.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.05, allocations: 0.9849 MB / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.05, allocations: 53.17 kB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/1.05, allocations: 0.6626 MB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/1.05, allocations: 420.1 kB / 1.275 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/1.051, allocations: 214.2 kB / 1.275 GB, free: 14.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.051, allocations: 349 kB / 1.276 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/1.052, allocations: 431.9 kB / 1.276 GB, free: 14.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009369/1.053, allocations: 0.5943 MB / 1.277 GB, free: 14.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.054, allocations: 1.015 MB / 1.278 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.054, allocations: 1.203 kB / 1.278 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002742/1.057, allocations: 1.296 MB / 1.279 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.057, allocations: 5.719 kB / 1.279 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.057, allocations: 5.453 kB / 1.279 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/1.058, allocations: 86.27 kB / 1.279 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.059, allocations: 283 kB / 1.279 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/1.061, allocations: 1.545 MB / 1.281 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.062, allocations: 160 kB / 1.281 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/1.062, allocations: 46.64 kB / 1.281 GB, free: 12.51 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.0006224/1.063, allocations: 379.3 kB / 1.281 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/1.063, allocations: 143.7 kB / 1.282 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/1.067, allocations: 1.613 MB / 1.283 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.067, allocations: 13.5 kB / 1.283 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.067, allocations: 2.125 kB / 1.283 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.067, allocations: 10.31 kB / 1.283 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/1.072, allocations: 3.168 MB / 1.286 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.072, allocations: 8.344 kB / 1.286 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.073, allocations: 267.9 kB / 1.287 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/1.073, allocations: 86.45 kB / 1.287 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/1.073, allocations: 38.81 kB / 1.287 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.075, allocations: 1.559 MB / 1.288 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.075, allocations: 0 / 1.288 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/1.079, allocations: 2.177 MB / 1.29 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/1.08, allocations: 394.8 kB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.08, allocations: 27.69 kB / 1.291 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.081, allocations: 132.6 kB / 1.291 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.081, allocations: 91.05 kB / 1.291 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.082, allocations: 61.28 kB / 1.291 GB, free: 9.992 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000838/1.082, allocations: 0.6883 MB / 1.292 GB, free: 9.883 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.082, allocations: 0 / 1.292 GB, free: 9.883 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001378/1.084, allocations: 0.5436 MB / 1.292 GB, free: 9.789 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.005525/1.089, allocations: 3.342 MB / 1.295 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002284/1.092, allocations: 1.24 MB / 1.297 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.092, allocations: 2.75 kB / 1.297 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.093, allocations: 0.7652 MB / 1.297 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/1.095, allocations: 0.5292 MB / 1.298 GB, free: 8.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.112, allocations: 11.37 MB / 1.309 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.113, allocations: 1.308 MB / 1.31 GB, free: 3.512 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001701/1.114, allocations: 443 kB / 1.311 GB, free: 3.391 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/1.115, allocations: 0.6637 MB / 1.311 GB, free: 3.379 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.115, allocations: 1.859 kB / 1.311 GB, free: 3.379 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/1.171, allocations: 35.82 MB / 1.346 GB, free: 8.148 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/1.171, allocations: 272.4 kB / 1.347 GB, free: 7.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.153, allocations: 0 / 1.347 GB, free: 7.785 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)