Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.541/2.541, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001171/0.00117, allocations: 183.2 kB / 0.4901 GB, free: 2.227 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.663/1.663, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009669/0.0009669, allocations: 112.1 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 9.5 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3709, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.906/5.277, allocations: 1.866 GB / 3.095 GB, free: 65.84 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.277, allocations: 86.89 kB / 3.096 GB, free: 65.79 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.156/6.434, allocations: 217.5 MB / 3.308 GB, free: 329.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.172e-06/6.434, allocations: 4 kB / 3.308 GB, free: 329.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.896e-05/6.434, allocations: 8 kB / 3.308 GB, free: 329.5 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001764/6.436, allocations: 0.648 MB / 3.309 GB, free: 328.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/6.436, allocations: 8.828 kB / 3.309 GB, free: 328.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/6.436, allocations: 54.55 kB / 3.309 GB, free: 328.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/6.436, allocations: 44.89 kB / 3.309 GB, free: 328.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/6.436, allocations: 291.4 kB / 3.309 GB, free: 328.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/6.436, allocations: 12 kB / 3.309 GB, free: 328.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/6.437, allocations: 19.95 kB / 3.309 GB, free: 328.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/6.437, allocations: 237.4 kB / 3.309 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/6.437, allocations: 0 / 3.309 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/6.437, allocations: 8 kB / 3.309 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/6.437, allocations: 12.25 kB / 3.309 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/6.437, allocations: 216.5 kB / 3.309 GB, free: 327.9 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.001241/6.439, allocations: 0.892 MB / 3.31 GB, free: 326.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/6.439, allocations: 144.1 kB / 3.31 GB, free: 326.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/6.439, allocations: 186.2 kB / 3.311 GB, free: 326.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/6.439, allocations: 34.56 kB / 3.311 GB, free: 326.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/6.439, allocations: 0 / 3.311 GB, free: 326.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0008748/6.44, allocations: 357.3 kB / 3.311 GB, free: 326.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/6.44, allocations: 51.41 kB / 3.311 GB, free: 326.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/6.44, allocations: 220.2 kB / 3.311 GB, free: 325.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/6.44, allocations: 33.7 kB / 3.311 GB, free: 325.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/6.441, allocations: 128.4 kB / 3.311 GB, free: 325.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/6.441, allocations: 55.19 kB / 3.311 GB, free: 325.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/6.441, allocations: 4 kB / 3.311 GB, free: 325.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/6.441, allocations: 334.8 kB / 3.312 GB, free: 325.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/6.441, allocations: 87.92 kB / 3.312 GB, free: 325.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/6.441, allocations: 132.8 kB / 3.312 GB, free: 325.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/6.441, allocations: 103 kB / 3.312 GB, free: 325 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/6.441, allocations: 0 / 3.312 GB, free: 325 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004731/6.442, allocations: 249.3 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/6.442, allocations: 5.094 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/6.442, allocations: 3.984 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/6.442, allocations: 12 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/6.442, allocations: 31.97 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/6.442, allocations: 4 kB / 3.312 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/6.442, allocations: 27.83 kB / 3.312 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/6.442, allocations: 11.98 kB / 3.312 GB, free: 324.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/6.442, allocations: 154.4 kB / 3.313 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/6.443, allocations: 19.72 kB / 3.313 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/6.443, allocations: 29.83 kB / 3.313 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/6.443, allocations: 0 / 3.313 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/6.443, allocations: 0 / 3.313 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/6.443, allocations: 0 / 3.313 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/6.444, allocations: 0.7341 MB / 3.313 GB, free: 323.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/6.444, allocations: 8.156 kB / 3.313 GB, free: 323.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/6.444, allocations: 39.91 kB / 3.313 GB, free: 323.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/6.444, allocations: 0 / 3.313 GB, free: 323.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/6.444, allocations: 8 kB / 3.313 GB, free: 323.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/6.444, allocations: 4 kB / 3.313 GB, free: 323.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/6.444, allocations: 7.953 kB / 3.313 GB, free: 323.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/6.444, allocations: 469.1 kB / 3.314 GB, free: 323 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/6.444, allocations: 116.8 kB / 3.314 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/6.445, allocations: 15.95 kB / 3.314 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/6.445, allocations: 11.98 kB / 3.314 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/6.445, allocations: 15.92 kB / 3.314 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/6.445, allocations: 8 kB / 3.314 GB, free: 322.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001185/6.445, allocations: 180.5 kB / 3.314 GB, free: 322.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.445, allocations: 0 / 3.314 GB, free: 322.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006174/6.446, allocations: 124 kB / 3.314 GB, free: 322.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/6.448, allocations: 2.273 MB / 3.316 GB, free: 320.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000503/6.448, allocations: 207.8 kB / 3.317 GB, free: 320 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/6.448, allocations: 128 / 3.317 GB, free: 320 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/6.448, allocations: 123.8 kB / 3.317 GB, free: 319.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/6.449, allocations: 110.4 kB / 3.317 GB, free: 319.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/6.451, allocations: 1.702 MB / 3.319 GB, free: 318 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/6.451, allocations: 0.7638 MB / 3.319 GB, free: 317.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002754/6.452, allocations: 65.91 kB / 3.319 GB, free: 317.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/6.452, allocations: 71.41 kB / 3.319 GB, free: 317 MB / 1.167 GB Notification: Performance of SimCode: time 6.31e-07/6.452, allocations: 0 / 3.319 GB, free: 317 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/6.486, allocations: 20.35 MB / 3.339 GB, free: 296.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/6.486, allocations: 229.8 kB / 3.34 GB, free: 296.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/8.946, allocations: 3.938 kB / 3.34 GB, free: 296.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat