Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 184.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.746/1.746, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 88.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 280.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.288e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5135, allocations: 82.76 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/5.196, allocations: 1.825 GB / 2.582 GB, free: 191.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/5.196, allocations: 85.73 kB / 2.583 GB, free: 191.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8531/6.049, allocations: 214.5 MB / 2.792 GB, free: 210.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/6.049, allocations: 0 / 2.792 GB, free: 210.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.185e-05/6.05, allocations: 11.94 kB / 2.792 GB, free: 210.5 MB / 0.698 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.001695/6.051, allocations: 0.6181 MB / 2.793 GB, free: 210.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/6.051, allocations: 7.625 kB / 2.793 GB, free: 210.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/6.052, allocations: 46.48 kB / 2.793 GB, free: 210.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/6.052, allocations: 299 kB / 2.793 GB, free: 210 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/6.052, allocations: 7.094 kB / 2.793 GB, free: 210 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/6.052, allocations: 8.219 kB / 2.793 GB, free: 210 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/6.052, allocations: 151.5 kB / 2.793 GB, free: 210 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/6.053, allocations: 191.6 kB / 2.793 GB, free: 209.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/6.053, allocations: 2.812 kB / 2.793 GB, free: 209.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/6.053, allocations: 0 / 2.793 GB, free: 209.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/6.053, allocations: 12.08 kB / 2.793 GB, free: 209.9 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001205/6.054, allocations: 0.8293 MB / 2.794 GB, free: 209.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/6.054, allocations: 122 kB / 2.794 GB, free: 209.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/6.054, allocations: 91.89 kB / 2.794 GB, free: 209.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/6.054, allocations: 193.5 kB / 2.795 GB, free: 209.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/6.055, allocations: 34.5 kB / 2.795 GB, free: 209.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/6.055, allocations: 6.469 kB / 2.795 GB, free: 209.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005234/6.055, allocations: 210.4 kB / 2.795 GB, free: 209.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/6.055, allocations: 61.8 kB / 2.795 GB, free: 209.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/6.055, allocations: 151.7 kB / 2.795 GB, free: 209.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/6.055, allocations: 25.7 kB / 2.795 GB, free: 209.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/6.055, allocations: 151.6 kB / 2.795 GB, free: 209 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/6.055, allocations: 46.05 kB / 2.795 GB, free: 208.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/6.055, allocations: 0 / 2.795 GB, free: 208.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/6.055, allocations: 330.5 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/6.056, allocations: 62.42 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/6.056, allocations: 114 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/6.056, allocations: 69.86 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/6.056, allocations: 0 / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002737/6.056, allocations: 198.5 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/6.056, allocations: 3.438 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/6.056, allocations: 5.656 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/6.056, allocations: 0 / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/6.056, allocations: 36.61 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/6.056, allocations: 3.25 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/6.057, allocations: 19.69 kB / 2.796 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/6.057, allocations: 13.31 kB / 2.796 GB, free: 208.6 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 () * 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 8.355e-05/6.057, allocations: 114.9 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002561/6.057, allocations: 189.2 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/6.057, allocations: 18.59 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/6.057, allocations: 24.11 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/6.057, allocations: 2.406 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/6.057, allocations: 0 / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/6.057, allocations: 3.594 kB / 2.796 GB, free: 208.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/6.058, allocations: 0.6444 MB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/6.058, allocations: 3.938 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/6.058, allocations: 33.44 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/6.058, allocations: 3.422 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/6.058, allocations: 10.33 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/6.058, allocations: 6.844 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/6.058, allocations: 3.125 kB / 2.797 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/6.059, allocations: 419 kB / 2.797 GB, free: 207.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/6.059, allocations: 121.6 kB / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/6.059, allocations: 0 / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/6.059, allocations: 11.86 kB / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/6.059, allocations: 16.88 kB / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/6.059, allocations: 14.12 kB / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.566e-05/6.059, allocations: 133.6 kB / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/6.059, allocations: 0 / 2.798 GB, free: 207.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005164/6.06, allocations: 113.8 kB / 2.798 GB, free: 207.6 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 () * 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.001771/6.061, allocations: 2.335 MB / 2.8 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002656/6.062, allocations: 161.2 kB / 2.8 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/6.062, allocations: 3.312 kB / 2.8 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/6.062, allocations: 92.05 kB / 2.8 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/6.062, allocations: 73.12 kB / 2.8 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/6.063, allocations: 388.9 kB / 2.801 GB, free: 205.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/6.063, allocations: 0.763 MB / 2.802 GB, free: 205.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002262/6.063, allocations: 61.55 kB / 2.802 GB, free: 205.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/6.064, allocations: 68.44 kB / 2.802 GB, free: 205.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/6.064, allocations: 0 / 2.802 GB, free: 205.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/6.096, allocations: 11.73 MB / 2.813 GB, free: 205.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/6.096, allocations: 186.3 kB / 2.813 GB, free: 204.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/8.117, allocations: 1.406 kB / 2.813 GB, free: 204.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)