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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 183.5 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 103.2 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 11.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4488, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.439, allocations: 1.942 GB / 3.171 GB, free: 38.45 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/5.44, allocations: 88.8 kB / 3.171 GB, free: 38.36 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.838/7.278, allocations: 487.8 MB / 3.647 GB, free: 15.68 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.075e-06/7.278, allocations: 0 / 3.647 GB, free: 15.68 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001212/7.278, allocations: 51.92 kB / 3.647 GB, free: 15.63 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003866/7.282, allocations: 1.989 MB / 3.649 GB, free: 13.58 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/7.282, allocations: 15.97 kB / 3.649 GB, free: 13.57 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000263/7.282, allocations: 232 kB / 3.65 GB, free: 13.33 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/7.285, allocations: 453.2 kB / 3.65 GB, free: 12.88 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/7.287, allocations: 0.9933 MB / 3.651 GB, free: 11.85 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/7.287, allocations: 119.1 kB / 3.651 GB, free: 11.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/7.287, allocations: 148 kB / 3.651 GB, free: 11.59 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/7.29, allocations: 1.699 MB / 3.653 GB, free: 9.797 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/7.29, allocations: 3.938 kB / 3.653 GB, free: 9.793 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/7.29, allocations: 64 kB / 3.653 GB, free: 9.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/7.29, allocations: 40 kB / 3.653 GB, free: 9.691 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/7.293, allocations: 1.709 MB / 3.655 GB, free: 7.977 MB / 1.167 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.00757/7.3, allocations: 5.78 MB / 3.66 GB, free: 1.938 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/7.302, allocations: 1.516 MB / 3.662 GB, free: 360 kB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8216/8.124, allocations: 0.8838 MB / 3.663 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/8.126, allocations: 0.7442 MB / 3.663 GB, free: 303 MB / 1.167 GB Notification: Performance of pre-optimization done (n=117): time 3.015e-06/8.126, allocations: 0 / 3.663 GB, free: 303 MB / 1.167 GB Notification: Performance of matching and sorting (n=117): time 0.004628/8.13, allocations: 1.803 MB / 3.665 GB, free: 302.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/8.131, allocations: 251.5 kB / 3.665 GB, free: 302.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/8.132, allocations: 0.8831 MB / 3.666 GB, free: 302.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/8.132, allocations: 50.3 kB / 3.666 GB, free: 302.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/8.133, allocations: 0.6381 MB / 3.667 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/8.133, allocations: 393.7 kB / 3.667 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/8.133, allocations: 21.88 kB / 3.667 GB, free: 302.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001033/8.133, allocations: 349.4 kB / 3.668 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/8.134, allocations: 410.5 kB / 3.668 GB, free: 301.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/8.135, allocations: 0.5679 MB / 3.669 GB, free: 301.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/8.136, allocations: 484.2 kB / 3.669 GB, free: 301.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/8.136, allocations: 0.9688 kB / 3.669 GB, free: 301.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002976/8.139, allocations: 1.239 MB / 3.67 GB, free: 301.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/8.139, allocations: 7.484 kB / 3.67 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/8.139, allocations: 2.094 kB / 3.67 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/8.14, allocations: 85.94 kB / 3.67 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/8.141, allocations: 269.5 kB / 3.671 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/8.143, allocations: 1.549 MB / 3.672 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/8.145, allocations: 158.5 kB / 3.672 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/8.145, allocations: 42.41 kB / 3.672 GB, free: 300.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.0009208/8.146, allocations: 364.4 kB / 3.673 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/8.146, allocations: 132.2 kB / 3.673 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/8.15, allocations: 1.56 MB / 3.674 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/8.15, allocations: 12.75 kB / 3.674 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/8.15, allocations: 0.5625 kB / 3.674 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/8.15, allocations: 6.234 kB / 3.674 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/8.156, allocations: 3.114 MB / 3.677 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/8.156, allocations: 0 / 3.677 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/8.158, allocations: 262.8 kB / 3.678 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/8.158, allocations: 85.83 kB / 3.678 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/8.158, allocations: 36.52 kB / 3.678 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/8.16, allocations: 1.576 MB / 3.679 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/8.16, allocations: 0 / 3.679 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004689/8.165, allocations: 2.087 MB / 3.681 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/8.166, allocations: 414.5 kB / 3.682 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/8.167, allocations: 29.61 kB / 3.682 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/8.168, allocations: 118 kB / 3.682 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/8.168, allocations: 84.95 kB / 3.682 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/8.168, allocations: 55.72 kB / 3.682 GB, free: 297.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001158/8.169, allocations: 0.6992 MB / 3.683 GB, free: 297.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/8.169, allocations: 0 / 3.683 GB, free: 297.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002822/8.172, allocations: 0.6635 MB / 3.683 GB, free: 297.6 MB / 1.167 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.009404/8.182, allocations: 4.384 MB / 3.688 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003615/8.185, allocations: 1.197 MB / 3.689 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/8.185, allocations: 3.188 kB / 3.689 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/8.187, allocations: 0.7272 MB / 3.69 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/8.19, allocations: 0.4899 MB / 3.69 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/8.206, allocations: 9.312 MB / 3.699 GB, free: 292.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/8.207, allocations: 1.322 MB / 3.7 GB, free: 292 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002012/8.209, allocations: 427.1 kB / 3.701 GB, free: 292 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008551/8.21, allocations: 0.6447 MB / 3.701 GB, free: 292 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/8.21, allocations: 0 / 3.701 GB, free: 292 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09439/8.304, allocations: 56.37 MB / 3.756 GB, free: 290.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/8.304, allocations: 250.3 kB / 3.757 GB, free: 290.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/12.11, allocations: 0 / 3.757 GB, free: 290.4 MB / 1.167 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) 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