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.0009253/0.0009256, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009352/0.0009352, allocations: 177.3 kB / 15.95 MB, free: 216 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.205/1.205, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.125/2.125, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5333, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.135/0.6683, allocations: 146.5 MB / 1.124 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.6824, allocations: 13.05 MB / 1.137 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.6832, allocations: 27.81 kB / 1.137 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/0.6841, allocations: 366 kB / 1.137 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.687, allocations: 1.384 MB / 1.138 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.6893, allocations: 1.057 MB / 1.139 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.6911, allocations: 1.643 MB / 1.141 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.6926, allocations: 1.416 MB / 1.142 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.694, allocations: 0.9889 MB / 1.143 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.6947, allocations: 0.6452 MB / 1.144 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.6948, allocations: 55.98 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.6963, allocations: 0.8307 MB / 1.145 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6966, allocations: 374.6 kB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.6969, allocations: 344.8 kB / 1.146 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.6986, allocations: 2.116 MB / 1.148 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6986, allocations: 3.938 kB / 1.148 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6986, allocations: 0 / 1.148 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.6987, allocations: 4 kB / 1.148 GB, free: 11.06 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.002904/0.7016, allocations: 1.92 MB / 1.15 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.7016, allocations: 8.031 kB / 1.15 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.7019, allocations: 236.3 kB / 1.15 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.7045, allocations: 481.1 kB / 1.15 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.7059, allocations: 1.051 MB / 1.151 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.706, allocations: 123.2 kB / 1.151 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.7062, allocations: 160 kB / 1.152 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7086, allocations: 1.757 MB / 1.153 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.7086, allocations: 3.938 kB / 1.153 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.7088, allocations: 72 kB / 1.153 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.7088, allocations: 51.94 kB / 1.153 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.7114, allocations: 1.76 MB / 1.155 GB, free: 3.258 MB / 0.9044 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.006614/0.718, allocations: 5.88 MB / 1.161 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.7204, allocations: 1.39 MB / 1.162 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/0.721, allocations: 0.6178 MB / 1.163 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.7223, allocations: 0.7972 MB / 1.164 GB, free: 10.14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 2.134e-06/0.7223, allocations: 0 / 1.164 GB, free: 10.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.004242/0.7266, allocations: 1.88 MB / 1.165 GB, free: 8.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.7267, allocations: 192.9 kB / 1.166 GB, free: 8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.7279, allocations: 0.9797 MB / 1.167 GB, free: 7.004 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.728, allocations: 53.7 kB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.7285, allocations: 0.6607 MB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.7289, allocations: 421.9 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.729, allocations: 20 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7291, allocations: 345.9 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.7299, allocations: 430.4 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.7308, allocations: 0.5897 MB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.7317, allocations: 0.4904 MB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7317, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002596/0.7343, allocations: 1.289 MB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7344, allocations: 8 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.7344, allocations: 0 / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.7349, allocations: 88.92 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7362, allocations: 291.6 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.7379, allocations: 1.555 MB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7391, allocations: 172.2 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/0.7392, allocations: 47.97 kB / 1.173 GB, free: 360 kB / 0.92 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.0006496/0.7398, allocations: 369.6 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.74, allocations: 138.3 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.7431, allocations: 1.61 MB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7432, allocations: 16 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.7432, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7432, allocations: 3.984 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.7475, allocations: 2.987 MB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7475, allocations: 3.953 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7487, allocations: 283.7 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.7492, allocations: 84.77 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.7493, allocations: 43.97 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.7509, allocations: 1.567 MB / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7509, allocations: 7.984 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.7545, allocations: 2.295 MB / 1.182 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.7552, allocations: 410.8 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.7554, allocations: 24 kB / 1.182 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.7565, allocations: 133.6 kB / 1.183 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.7566, allocations: 101.1 kB / 1.183 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7567, allocations: 63.95 kB / 1.183 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008161/0.7576, allocations: 0.6841 MB / 1.183 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7576, allocations: 0 / 1.183 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001192/0.7588, allocations: 0.5297 MB / 1.184 GB, free: 4.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.005409/0.7642, allocations: 3.845 MB / 1.188 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.7666, allocations: 1.236 MB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7666, allocations: 4.438 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.7679, allocations: 0.7756 MB / 1.19 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.7702, allocations: 0.4996 MB / 1.19 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.7865, allocations: 9.818 MB / 1.2 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.7874, allocations: 1.342 MB / 1.201 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001644/0.789, allocations: 434.8 kB / 1.201 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008015/0.7898, allocations: 0.6554 MB / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of SimCode: time 9.62e-07/0.7898, allocations: 0 / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.119/2.909, allocations: 36.67 MB / 1.238 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/2.91, allocations: 257.8 kB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/6.342, allocations: 3.938 kB / 1.238 GB, free: 13.25 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