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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001185/0.001185, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001453/0.001453, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.675, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1603/0.8354, allocations: 159.1 MB / 1.137 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.8521, allocations: 14.4 MB / 1.151 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.8533, allocations: 23.88 kB / 1.151 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.8545, allocations: 401.2 kB / 1.151 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.8576, allocations: 1.18 MB / 1.152 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.861, allocations: 1.235 MB / 1.153 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.8645, allocations: 2.783 MB / 1.156 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.8666, allocations: 1.4 MB / 1.157 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.8684, allocations: 1.008 MB / 1.158 GB, free: 208 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009943/0.8695, allocations: 0.8048 MB / 1.159 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.8696, allocations: 48 kB / 1.159 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.8716, allocations: 0.8423 MB / 1.16 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.872, allocations: 386.4 kB / 1.16 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.8724, allocations: 352.7 kB / 1.161 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.8746, allocations: 2.128 MB / 1.163 GB, free: 11.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8746, allocations: 0 / 1.163 GB, free: 11.64 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8746, allocations: 0 / 1.163 GB, free: 11.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.8747, allocations: 0 / 1.163 GB, free: 11.64 MB / 0.92 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.003165/0.8778, allocations: 1.928 MB / 1.165 GB, free: 9.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8779, allocations: 8.031 kB / 1.165 GB, free: 9.641 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.8782, allocations: 232.4 kB / 1.165 GB, free: 9.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.881, allocations: 477.1 kB / 1.165 GB, free: 8.934 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.8828, allocations: 1.063 MB / 1.166 GB, free: 7.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.8829, allocations: 127.2 kB / 1.167 GB, free: 7.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.8831, allocations: 156 kB / 1.167 GB, free: 7.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.8861, allocations: 1.772 MB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.8862, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.8863, allocations: 68 kB / 1.169 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.8864, allocations: 51.95 kB / 1.169 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.8894, allocations: 1.764 MB / 1.17 GB, free: 3.809 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.007678/0.8971, allocations: 5.89 MB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.8996, allocations: 1.572 MB / 1.178 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.9006, allocations: 0.5582 MB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/0.9014, allocations: 0.8867 MB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.9028, allocations: 0.8049 MB / 1.18 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 2.534e-06/0.9028, allocations: 0 / 1.18 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.004328/0.9071, allocations: 1.891 MB / 1.182 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.9072, allocations: 192.9 kB / 1.182 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.9085, allocations: 0.9835 MB / 1.183 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.9086, allocations: 57.7 kB / 1.183 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.9091, allocations: 0.6568 MB / 1.183 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.9094, allocations: 417.9 kB / 1.184 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.9095, allocations: 20 kB / 1.184 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9096, allocations: 349.9 kB / 1.184 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/0.9104, allocations: 430.4 kB / 1.185 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.9114, allocations: 0.5897 MB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.9123, allocations: 0.4944 MB / 1.186 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9123, allocations: 0 / 1.186 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00261/0.915, allocations: 1.297 MB / 1.187 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.915, allocations: 8 kB / 1.187 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.915, allocations: 0 / 1.187 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.9155, allocations: 96.81 kB / 1.187 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9168, allocations: 287.6 kB / 1.187 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.9187, allocations: 1.538 MB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.9198, allocations: 170.8 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.9199, allocations: 47.97 kB / 1.189 GB, free: 15.75 MB / 0.9512 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006389/0.9205, allocations: 369.5 kB / 1.189 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.9207, allocations: 146.3 kB / 1.19 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.9242, allocations: 1.614 MB / 1.191 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.9242, allocations: 12 kB / 1.191 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.9242, allocations: 4 kB / 1.191 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.9242, allocations: 12.06 kB / 1.191 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.9293, allocations: 3.169 MB / 1.194 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9293, allocations: 0 / 1.194 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.9305, allocations: 271.6 kB / 1.195 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.931, allocations: 80.78 kB / 1.195 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.9311, allocations: 43.95 kB / 1.195 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.9328, allocations: 1.555 MB / 1.196 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9328, allocations: 0 / 1.196 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.9366, allocations: 2.176 MB / 1.198 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.9373, allocations: 418.8 kB / 1.199 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.9375, allocations: 32 kB / 1.199 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9386, allocations: 137.3 kB / 1.199 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.9388, allocations: 93.17 kB / 1.199 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.9389, allocations: 63.95 kB / 1.199 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009326/0.9398, allocations: 0.6763 MB / 1.2 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9399, allocations: 0 / 1.2 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001265/0.9411, allocations: 0.522 MB / 1.2 GB, free: 4.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005421/0.9466, allocations: 3.332 MB / 1.203 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.949, allocations: 1.24 MB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.949, allocations: 448 / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.9503, allocations: 0.7675 MB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.9525, allocations: 0.5139 MB / 1.206 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.9684, allocations: 8.795 MB / 1.214 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/0.9693, allocations: 1.307 MB / 1.216 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001703/0.971, allocations: 438.8 kB / 1.216 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008807/0.9719, allocations: 0.6515 MB / 1.217 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.9719, allocations: 4 kB / 1.217 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5883/1.56, allocations: 36.71 MB / 1.253 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/1.56, allocations: 258.4 kB / 1.253 GB, free: 258.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/4.349, allocations: 0.7812 kB / 1.253 GB, free: 258.4 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat