Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001468, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007512/0.0007518, allocations: 12.5 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2302, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8786/1.109, allocations: 135.5 MB / 1.111 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002785/1.112, allocations: 0.9652 MB / 1.112 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/1.112, allocations: 7.812 kB / 1.112 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009007/1.113, allocations: 172.5 kB / 1.112 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/1.115, allocations: 413 kB / 1.112 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/1.117, allocations: 266.9 kB / 1.112 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008941/1.118, allocations: 307.6 kB / 1.113 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/1.118, allocations: 141.4 kB / 1.113 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009953/1.119, allocations: 253.2 kB / 1.113 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/1.12, allocations: 106.5 kB / 1.113 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/1.12, allocations: 8.156 kB / 1.113 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/1.121, allocations: 243.2 kB / 1.113 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/1.121, allocations: 73.59 kB / 1.113 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/1.121, allocations: 62.23 kB / 1.113 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007718/1.122, allocations: 269.3 kB / 1.114 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/1.122, allocations: 4.812 kB / 1.114 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/1.122, allocations: 0 / 1.114 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.122, allocations: 4 kB / 1.114 GB, free: 1 MB / 0.6823 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.002483/1.124, allocations: 0.5424 MB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.124, allocations: 10.44 kB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/1.125, allocations: 50.22 kB / 1.114 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/1.125, allocations: 52.86 kB / 1.114 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/1.126, allocations: 269 kB / 1.115 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/1.126, allocations: 12.33 kB / 1.115 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/1.126, allocations: 18.47 kB / 1.115 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/1.127, allocations: 245.2 kB / 1.115 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.127, allocations: 2.922 kB / 1.115 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.127, allocations: 3.875 kB / 1.115 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/1.127, allocations: 16.94 kB / 1.115 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.128, allocations: 261.5 kB / 1.115 GB, free: 16.25 MB / 0.698 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.001908/1.13, allocations: 0.7742 MB / 1.116 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/1.13, allocations: 155.1 kB / 1.116 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/1.13, allocations: 9.672 kB / 1.116 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.13, allocations: 31.97 kB / 1.116 GB, free: 15.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/1.13, allocations: 0 / 1.116 GB, free: 15.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001459/1.132, allocations: 321.4 kB / 1.116 GB, free: 15.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/1.132, allocations: 58.31 kB / 1.116 GB, free: 15.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/1.132, allocations: 241 kB / 1.117 GB, free: 15.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/1.133, allocations: 27.27 kB / 1.117 GB, free: 15.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.133, allocations: 141.7 kB / 1.117 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/1.133, allocations: 51.25 kB / 1.117 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.133, allocations: 1.125 kB / 1.117 GB, free: 15.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.133, allocations: 331.7 kB / 1.117 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/1.133, allocations: 73.77 kB / 1.117 GB, free: 15.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/1.134, allocations: 108.5 kB / 1.117 GB, free: 15.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/1.134, allocations: 79.95 kB / 1.117 GB, free: 15.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.134, allocations: 0 / 1.117 GB, free: 15.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008481/1.135, allocations: 224.2 kB / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.135, allocations: 5.375 kB / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.135, allocations: 0 / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.135, allocations: 2.781 kB / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.135, allocations: 34.58 kB / 1.118 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.135, allocations: 5.719 kB / 1.118 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.136, allocations: 30.77 kB / 1.118 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.136, allocations: 11.31 kB / 1.118 GB, free: 14.95 MB / 0.698 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.0002343/1.136, allocations: 138.3 kB / 1.118 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/1.136, allocations: 25.67 kB / 1.118 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/1.136, allocations: 31.66 kB / 1.118 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.136, allocations: 5.312 kB / 1.118 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.136, allocations: 5.281 kB / 1.118 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.136, allocations: 1.312 kB / 1.118 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/1.138, allocations: 0.6906 MB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.138, allocations: 2.781 kB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/1.138, allocations: 33.67 kB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/1.138, allocations: 10.8 kB / 1.119 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/1.138, allocations: 7.656 kB / 1.119 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/1.138, allocations: 7.594 kB / 1.119 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.138, allocations: 0 / 1.119 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/1.139, allocations: 446.5 kB / 1.119 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/1.14, allocations: 113.1 kB / 1.119 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/1.14, allocations: 6.234 kB / 1.119 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/1.14, allocations: 21.39 kB / 1.119 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/1.14, allocations: 11.56 kB / 1.119 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.14, allocations: 8.219 kB / 1.119 GB, free: 13.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002647/1.14, allocations: 178.1 kB / 1.119 GB, free: 13.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.14, allocations: 0 / 1.119 GB, free: 13.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000562/1.141, allocations: 54.44 kB / 1.12 GB, free: 13.9 MB / 0.698 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.001917/1.143, allocations: 1.523 MB / 1.121 GB, free: 12.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007985/1.144, allocations: 175.3 kB / 1.121 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.144, allocations: 0 / 1.121 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/1.144, allocations: 111 kB / 1.121 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.145, allocations: 123.4 kB / 1.121 GB, free: 12.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/1.149, allocations: 1.644 MB / 1.123 GB, free: 11.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/1.15, allocations: 0.7596 MB / 1.124 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005/1.15, allocations: 60.61 kB / 1.124 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/1.15, allocations: 67.14 kB / 1.124 GB, free: 10.93 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/1.15, allocations: 0 / 1.124 GB, free: 10.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/1.184, allocations: 6.374 MB / 1.13 GB, free: 9.738 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.184, allocations: 221 kB / 1.13 GB, free: 9.504 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.93, allocations: 0 / 1.13 GB, free: 9.504 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)