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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009817/0.0009816, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001146/0.001146, allocations: 168.7 kB / 15.95 MB, free: 204 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.495/1.495, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8518, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1878/1.04, allocations: 146.5 MB / 1.124 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.001929/1.042, allocations: 0.9238 MB / 1.125 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/1.042, allocations: 7.938 kB / 1.125 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005309/1.043, allocations: 103.3 kB / 1.125 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/1.044, allocations: 473.9 kB / 1.126 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/1.045, allocations: 189 kB / 1.126 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008226/1.046, allocations: 0.6201 MB / 1.126 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/1.046, allocations: 140.2 kB / 1.127 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/1.047, allocations: 215.1 kB / 1.127 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/1.047, allocations: 155.4 kB / 1.127 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/1.047, allocations: 8 kB / 1.127 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/1.048, allocations: 295.2 kB / 1.127 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/1.048, allocations: 75.78 kB / 1.127 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/1.048, allocations: 69.52 kB / 1.127 GB, free: 124 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00054/1.048, allocations: 295.3 kB / 1.128 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.049, allocations: 0 / 1.128 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/1.049, allocations: 0 / 1.128 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.049, allocations: 0 / 1.128 GB, free: 15.83 MB / 0.8887 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.00153/1.05, allocations: 0.5572 MB / 1.128 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.05, allocations: 15.97 kB / 1.128 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.489e-05/1.05, allocations: 50.55 kB / 1.128 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/1.05, allocations: 47.69 kB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/1.051, allocations: 274.3 kB / 1.129 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.051, allocations: 8.328 kB / 1.129 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/1.051, allocations: 16 kB / 1.129 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/1.051, allocations: 247.1 kB / 1.129 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.051, allocations: 8 kB / 1.129 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/1.052, allocations: 7.953 kB / 1.129 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/1.052, allocations: 8 kB / 1.129 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/1.052, allocations: 263.6 kB / 1.129 GB, free: 14.25 MB / 0.8887 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.001515/1.054, allocations: 0.8473 MB / 1.13 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.054, allocations: 154.5 kB / 1.13 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/1.054, allocations: 112.8 kB / 1.13 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/1.055, allocations: 194.2 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.055, allocations: 30.56 kB / 1.13 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/1.055, allocations: 0 / 1.13 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008373/1.055, allocations: 313.3 kB / 1.131 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.056, allocations: 51.41 kB / 1.131 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/1.056, allocations: 248.9 kB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/1.056, allocations: 29.7 kB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.056, allocations: 140.2 kB / 1.131 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/1.056, allocations: 47.3 kB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.056, allocations: 4 kB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.056, allocations: 334.8 kB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.056, allocations: 63.95 kB / 1.132 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.057, allocations: 115.5 kB / 1.132 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/1.057, allocations: 79.95 kB / 1.132 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.057, allocations: 3.938 kB / 1.132 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004804/1.057, allocations: 231.8 kB / 1.132 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.057, allocations: 4 kB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.057, allocations: 4 kB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.057, allocations: 0 / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.058, allocations: 35.98 kB / 1.132 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.058, allocations: 7.984 kB / 1.132 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/1.058, allocations: 27.83 kB / 1.132 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/1.058, allocations: 4 kB / 1.132 GB, free: 11.02 MB / 0.8887 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.0001454/1.058, allocations: 137.8 kB / 1.132 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/1.058, allocations: 27.67 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/1.058, allocations: 33.83 kB / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.058, allocations: 0 / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.058, allocations: 0 / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.058, allocations: 0 / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.059, allocations: 0.6873 MB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.059, allocations: 4 kB / 1.133 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/1.059, allocations: 36.19 kB / 1.133 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/1.059, allocations: 4 kB / 1.133 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.059, allocations: 8 kB / 1.133 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.059, allocations: 0 / 1.133 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.06, allocations: 11.94 kB / 1.133 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/1.06, allocations: 361.1 kB / 1.133 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.06, allocations: 120.8 kB / 1.133 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/1.06, allocations: 4 kB / 1.133 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.06, allocations: 19.92 kB / 1.133 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/1.06, allocations: 11.94 kB / 1.133 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/1.061, allocations: 8 kB / 1.133 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002028/1.061, allocations: 180.5 kB / 1.134 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/1.061, allocations: 0 / 1.134 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004108/1.061, allocations: 59.94 kB / 1.134 GB, free: 9.18 MB / 0.8887 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.001188/1.062, allocations: 0.9536 MB / 1.135 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004854/1.063, allocations: 183.8 kB / 1.135 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.063, allocations: 0 / 1.135 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.063, allocations: 104.4 kB / 1.135 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/1.064, allocations: 113.6 kB / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/1.066, allocations: 1.366 MB / 1.136 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/1.067, allocations: 0.7482 MB / 1.137 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002524/1.067, allocations: 61.91 kB / 1.137 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.067, allocations: 67.41 kB / 1.137 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/1.067, allocations: 4 kB / 1.137 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/1.089, allocations: 6.39 MB / 1.143 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.089, allocations: 235.2 kB / 1.144 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/3.033, allocations: 0 / 1.144 GB, free: 15.04 MB / 0.9044 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) Environment - environmentSimulation: 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