Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 187.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000806/0.0008056, allocations: 88.2 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.055e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.922/5.088, allocations: 2.178 GB / 3.063 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/5.088, allocations: 82.02 kB / 3.063 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8845/5.973, allocations: 205.6 MB / 3.264 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.473e-06/5.973, allocations: 0 / 3.264 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.25e-05/5.973, allocations: 4.766 kB / 3.264 GB, free: 256.3 MB / 0.8698 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.001752/5.975, allocations: 0.5942 MB / 3.265 GB, free: 256 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/5.975, allocations: 8.625 kB / 3.265 GB, free: 256 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/5.975, allocations: 49.42 kB / 3.265 GB, free: 256 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/5.976, allocations: 274.5 kB / 3.265 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/5.976, allocations: 7.812 kB / 3.265 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/5.976, allocations: 13.72 kB / 3.265 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003377/5.976, allocations: 166.2 kB / 3.265 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/5.976, allocations: 196.9 kB / 3.266 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/5.976, allocations: 0 / 3.266 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/5.976, allocations: 5.938 kB / 3.266 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/5.976, allocations: 7.969 kB / 3.266 GB, free: 255.7 MB / 0.8698 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.001458/5.978, allocations: 0.8216 MB / 3.266 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/5.978, allocations: 119 kB / 3.266 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/5.978, allocations: 99.14 kB / 3.267 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/5.979, allocations: 192.5 kB / 3.267 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/5.979, allocations: 35.41 kB / 3.267 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/5.979, allocations: 0 / 3.267 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0005734/5.979, allocations: 215.7 kB / 3.267 GB, free: 255 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/5.979, allocations: 52.78 kB / 3.267 GB, free: 255 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/5.979, allocations: 152.5 kB / 3.267 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/5.979, allocations: 27.08 kB / 3.267 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/5.979, allocations: 148.1 kB / 3.267 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/5.98, allocations: 49.45 kB / 3.267 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/5.98, allocations: 0 / 3.267 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/5.98, allocations: 327.7 kB / 3.268 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/5.98, allocations: 65.33 kB / 3.268 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/5.98, allocations: 108.8 kB / 3.268 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/5.98, allocations: 74 kB / 3.268 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/5.98, allocations: 0 / 3.268 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003163/5.98, allocations: 196.8 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/5.98, allocations: 6.328 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/5.98, allocations: 2.688 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/5.98, allocations: 1.5 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/5.981, allocations: 38.88 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/5.981, allocations: 1.781 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/5.981, allocations: 25.53 kB / 3.268 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/5.981, allocations: 7.906 kB / 3.268 GB, free: 254.3 MB / 0.8698 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 7.334e-05/5.981, allocations: 103.8 kB / 3.268 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002997/5.981, allocations: 196.7 kB / 3.268 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/5.981, allocations: 15.16 kB / 3.268 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/5.981, allocations: 27.81 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/5.981, allocations: 5.734 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/5.981, allocations: 0.5625 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/5.981, allocations: 0.5625 kB / 3.269 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/5.982, allocations: 0.6474 MB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/5.982, allocations: 1.312 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/5.983, allocations: 41.11 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/5.983, allocations: 6 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/5.983, allocations: 4.156 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/5.983, allocations: 3.312 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/5.983, allocations: 3.406 kB / 3.269 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/5.983, allocations: 427.3 kB / 3.27 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/5.983, allocations: 117.1 kB / 3.27 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/5.983, allocations: 6.469 kB / 3.27 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/5.983, allocations: 16.97 kB / 3.27 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/5.983, allocations: 12.11 kB / 3.27 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/5.983, allocations: 8.25 kB / 3.27 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.177e-05/5.984, allocations: 135.5 kB / 3.27 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.984, allocations: 0 / 3.27 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005357/5.984, allocations: 112.6 kB / 3.27 GB, free: 253.3 MB / 0.8698 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.001939/5.986, allocations: 2.335 MB / 3.272 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003194/5.986, allocations: 157.9 kB / 3.272 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.986, allocations: 1.375 kB / 3.272 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/5.987, allocations: 88.2 kB / 3.273 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/5.987, allocations: 89.72 kB / 3.273 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/5.988, allocations: 375.6 kB / 3.273 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/5.988, allocations: 0.7633 MB / 3.274 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002408/5.988, allocations: 60.22 kB / 3.274 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/5.988, allocations: 65.34 kB / 3.274 GB, free: 251 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/5.988, allocations: 0 / 3.274 GB, free: 251 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/6.024, allocations: 11.7 MB / 3.285 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/6.025, allocations: 187.9 kB / 3.285 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/8.05, allocations: 4 kB / 3.285 GB, free: 250.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)