Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001133/0.001133, allocations: 185 kB / 498.1 MB, free: 5.742 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.453/1.453, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0008569/0.0008571, allocations: 92.34 kB / 0.9346 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12.75 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.672/3.915, allocations: 1.941 GB / 3.164 GB, free: 37.32 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/3.915, allocations: 87.95 kB / 3.164 GB, free: 37.23 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.498/5.413, allocations: 487.8 MB / 3.64 GB, free: 18.65 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.083e-06/5.413, allocations: 0 / 3.64 GB, free: 18.65 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001766/5.413, allocations: 55.86 kB / 3.64 GB, free: 18.6 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.004957/5.418, allocations: 1.993 MB / 3.642 GB, free: 16.55 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/5.418, allocations: 8.031 kB / 3.642 GB, free: 16.54 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005855/5.419, allocations: 232 kB / 3.643 GB, free: 16.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/5.422, allocations: 449.3 kB / 3.643 GB, free: 15.86 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/5.424, allocations: 0.9854 MB / 3.644 GB, free: 14.83 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/5.424, allocations: 123.1 kB / 3.644 GB, free: 14.71 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/5.424, allocations: 152 kB / 3.644 GB, free: 14.56 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/5.426, allocations: 1.7 MB / 3.646 GB, free: 12.77 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/5.426, allocations: 3.938 kB / 3.646 GB, free: 12.77 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/5.427, allocations: 64 kB / 3.646 GB, free: 12.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/5.427, allocations: 40 kB / 3.646 GB, free: 12.67 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/5.429, allocations: 1.709 MB / 3.648 GB, free: 10.95 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.00702/5.436, allocations: 5.776 MB / 3.653 GB, free: 4.918 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/5.438, allocations: 1.502 MB / 3.655 GB, free: 3.352 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/5.439, allocations: 0.8945 MB / 3.656 GB, free: 2.273 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/5.44, allocations: 0.7387 MB / 3.656 GB, free: 1.516 MB / 1.167 GB Notification: Performance of pre-optimization done (n=117): time 2.865e-06/5.44, allocations: 4 kB / 3.656 GB, free: 1.512 MB / 1.167 GB Notification: Performance of matching and sorting (n=117): time 0.5789/6.019, allocations: 1.801 MB / 3.658 GB, free: 305.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/6.019, allocations: 246.7 kB / 3.658 GB, free: 305.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/6.021, allocations: 0.8858 MB / 3.659 GB, free: 305.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003146/6.021, allocations: 51.67 kB / 3.659 GB, free: 305.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/6.022, allocations: 0.6374 MB / 3.66 GB, free: 305.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/6.022, allocations: 394.7 kB / 3.66 GB, free: 305.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/6.022, allocations: 18.78 kB / 3.66 GB, free: 305.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001032/6.023, allocations: 349.7 kB / 3.661 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/6.024, allocations: 406.2 kB / 3.661 GB, free: 304.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/6.025, allocations: 0.5741 MB / 3.662 GB, free: 304.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/6.026, allocations: 484.5 kB / 3.662 GB, free: 304.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.026, allocations: 1.031 kB / 3.662 GB, free: 304.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003215/6.029, allocations: 1.233 MB / 3.663 GB, free: 304.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/6.029, allocations: 12.59 kB / 3.663 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/6.029, allocations: 4.484 kB / 3.663 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/6.03, allocations: 85.7 kB / 3.663 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/6.031, allocations: 267.7 kB / 3.664 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/6.033, allocations: 1.552 MB / 3.665 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/6.034, allocations: 154 kB / 3.665 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/6.035, allocations: 42.97 kB / 3.665 GB, free: 303.2 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.0008259/6.035, allocations: 358.5 kB / 3.666 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/6.036, allocations: 139.5 kB / 3.666 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/6.039, allocations: 1.543 MB / 3.667 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/6.039, allocations: 16.27 kB / 3.667 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/6.039, allocations: 0 / 3.667 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/6.039, allocations: 7.594 kB / 3.667 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/6.045, allocations: 3.118 MB / 3.67 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/6.045, allocations: 0 / 3.67 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/6.046, allocations: 266 kB / 3.671 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/6.047, allocations: 85.75 kB / 3.671 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/6.047, allocations: 40.33 kB / 3.671 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/6.049, allocations: 1.575 MB / 3.672 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/6.049, allocations: 0 / 3.672 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/6.053, allocations: 2.09 MB / 3.674 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009358/6.054, allocations: 409.8 kB / 3.675 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/6.054, allocations: 22.39 kB / 3.675 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/6.055, allocations: 123.6 kB / 3.675 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/6.055, allocations: 84.48 kB / 3.675 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/6.056, allocations: 52.55 kB / 3.675 GB, free: 300.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001141/6.057, allocations: 0.7088 MB / 3.676 GB, free: 300.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.413e-06/6.057, allocations: 1.906 kB / 3.676 GB, free: 300.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0021/6.059, allocations: 0.6649 MB / 3.676 GB, free: 300.7 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.007509/6.066, allocations: 4.393 MB / 3.681 GB, free: 299.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002585/6.069, allocations: 1.189 MB / 3.682 GB, free: 299.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/6.069, allocations: 2 kB / 3.682 GB, free: 299.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/6.07, allocations: 0.7374 MB / 3.682 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/6.073, allocations: 0.4921 MB / 3.683 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/6.09, allocations: 9.308 MB / 3.692 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/6.091, allocations: 1.315 MB / 3.693 GB, free: 295 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002026/6.093, allocations: 430.6 kB / 3.694 GB, free: 295 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009366/6.094, allocations: 0.6414 MB / 3.694 GB, free: 295 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/6.094, allocations: 0 / 3.694 GB, free: 295 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08728/6.181, allocations: 56.36 MB / 3.749 GB, free: 293.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/6.181, allocations: 247.9 kB / 3.75 GB, free: 293.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/9.975, allocations: 0 / 3.75 GB, free: 293.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat