Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001109/0.001109, allocations: 175 kB / 498.1 MB, free: 5.777 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.473/1.473, allocations: 223.1 MB / 0.7948 GB, free: 17.87 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.0009317/0.0009317, allocations: 102.5 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 10.88 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.1/4.392, allocations: 1.865 GB / 3.088 GB, free: 150.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/4.392, allocations: 87.95 kB / 3.088 GB, free: 150.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.116/5.509, allocations: 217.4 MB / 3.301 GB, free: 393.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.934e-06/5.509, allocations: 0 / 3.301 GB, free: 393.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.312e-05/5.509, allocations: 10.05 kB / 3.301 GB, free: 393.4 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.002117/5.511, allocations: 0.6415 MB / 3.301 GB, free: 392.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/5.511, allocations: 11.5 kB / 3.301 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/5.511, allocations: 53.83 kB / 3.301 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/5.512, allocations: 53.03 kB / 3.302 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/5.512, allocations: 302.5 kB / 3.302 GB, free: 392.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/5.512, allocations: 10.84 kB / 3.302 GB, free: 392.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/5.512, allocations: 12.88 kB / 3.302 GB, free: 392.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/5.513, allocations: 245.6 kB / 3.302 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/5.513, allocations: 4 kB / 3.302 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/5.513, allocations: 7.953 kB / 3.302 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/5.513, allocations: 6.984 kB / 3.302 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/5.514, allocations: 217.4 kB / 3.302 GB, free: 392.3 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.001485/5.515, allocations: 0.8779 MB / 3.303 GB, free: 391.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/5.515, allocations: 149 kB / 3.303 GB, free: 391.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/5.516, allocations: 192.5 kB / 3.303 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/5.516, allocations: 34.47 kB / 3.303 GB, free: 391.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/5.516, allocations: 4 kB / 3.303 GB, free: 391.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0009397/5.517, allocations: 352.2 kB / 3.304 GB, free: 391.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/5.517, allocations: 55.39 kB / 3.304 GB, free: 391 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/5.517, allocations: 219.3 kB / 3.304 GB, free: 390.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/5.517, allocations: 25.7 kB / 3.304 GB, free: 390.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/5.517, allocations: 140.6 kB / 3.304 GB, free: 390.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/5.517, allocations: 44.69 kB / 3.304 GB, free: 390.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/5.517, allocations: 3.875 kB / 3.304 GB, free: 390.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/5.517, allocations: 330.7 kB / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/5.517, allocations: 89.83 kB / 3.305 GB, free: 390.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/5.518, allocations: 133.8 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/5.518, allocations: 88.62 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/5.518, allocations: 3.156 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005261/5.518, allocations: 256.9 kB / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/5.518, allocations: 7.625 kB / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/5.518, allocations: 0 / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/5.518, allocations: 64 / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/5.519, allocations: 45.97 kB / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/5.519, allocations: 7.734 kB / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/5.519, allocations: 34.08 kB / 3.305 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/5.519, allocations: 7.281 kB / 3.305 GB, free: 390 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.0001331/5.519, allocations: 142 kB / 3.305 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/5.519, allocations: 26.88 kB / 3.305 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/5.519, allocations: 33.64 kB / 3.305 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/5.519, allocations: 3.938 kB / 3.305 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/5.519, allocations: 0 / 3.305 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/5.519, allocations: 0 / 3.305 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/5.52, allocations: 0.7342 MB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/5.52, allocations: 0 / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/5.521, allocations: 40 kB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/5.521, allocations: 3.875 kB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/5.521, allocations: 7.984 kB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/5.521, allocations: 7.188 kB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.521, allocations: 3.625 kB / 3.306 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/5.521, allocations: 474.9 kB / 3.307 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/5.521, allocations: 117.2 kB / 3.307 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/5.522, allocations: 3.594 kB / 3.307 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/5.522, allocations: 14.67 kB / 3.307 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/5.522, allocations: 19 kB / 3.307 GB, free: 388.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/5.522, allocations: 11.39 kB / 3.307 GB, free: 388.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001417/5.522, allocations: 181.5 kB / 3.307 GB, free: 388.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.522, allocations: 0 / 3.307 GB, free: 388.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000673/5.523, allocations: 132.6 kB / 3.307 GB, free: 388.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.002342/5.525, allocations: 2.263 MB / 3.309 GB, free: 386.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005385/5.526, allocations: 209.5 kB / 3.31 GB, free: 386.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.526, allocations: 0 / 3.31 GB, free: 386.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/5.526, allocations: 110.5 kB / 3.31 GB, free: 386.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/5.526, allocations: 124.1 kB / 3.31 GB, free: 386.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/5.529, allocations: 1.712 MB / 3.311 GB, free: 385.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/5.529, allocations: 0.7606 MB / 3.312 GB, free: 384.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002845/5.529, allocations: 80.75 kB / 3.312 GB, free: 384.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/5.53, allocations: 66.56 kB / 3.312 GB, free: 384.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.21e-07/5.53, allocations: 0 / 3.312 GB, free: 384.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/5.565, allocations: 20.32 MB / 3.332 GB, free: 368.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/5.565, allocations: 217.6 kB / 3.332 GB, free: 368.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/8.091, allocations: 3.938 kB / 3.332 GB, free: 368.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat