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.387/1.387, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.0009344/0.0009345, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008301/0.0008299, allocations: 84.59 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.184e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1912, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.78/5.971, allocations: 2.178 GB / 3.07 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.972, allocations: 83.95 kB / 3.07 GB, free: 192 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.019/6.991, allocations: 208.3 MB / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/6.991, allocations: 0 / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.694e-05/6.991, allocations: 6.375 kB / 3.273 GB, free: 253.7 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.001642/6.993, allocations: 0.5897 MB / 3.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/6.993, allocations: 14.58 kB / 3.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/6.993, allocations: 54.52 kB / 3.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/6.993, allocations: 46.22 kB / 3.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/6.993, allocations: 275.2 kB / 3.274 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/6.994, allocations: 24.78 kB / 3.274 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/6.994, allocations: 21.5 kB / 3.274 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/6.994, allocations: 216.3 kB / 3.274 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/6.994, allocations: 0 / 3.274 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/6.994, allocations: 11.28 kB / 3.274 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/6.994, allocations: 7.938 kB / 3.274 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/6.995, allocations: 205.9 kB / 3.275 GB, free: 253 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.001397/6.996, allocations: 0.8258 MB / 3.275 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/6.996, allocations: 125.7 kB / 3.276 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/6.996, allocations: 94.31 kB / 3.276 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/6.997, allocations: 196.2 kB / 3.276 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/6.997, allocations: 32.44 kB / 3.276 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/6.997, allocations: 1.375 kB / 3.276 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0005376/6.997, allocations: 200.3 kB / 3.276 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/6.997, allocations: 56.41 kB / 3.276 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/6.998, allocations: 215.7 kB / 3.276 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/6.998, allocations: 30.39 kB / 3.276 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/6.998, allocations: 135.3 kB / 3.276 GB, free: 252 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/6.998, allocations: 50.78 kB / 3.277 GB, free: 252 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/6.998, allocations: 0 / 3.277 GB, free: 252 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001057/6.998, allocations: 333.9 kB / 3.277 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/6.998, allocations: 50.72 kB / 3.277 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/6.998, allocations: 102.3 kB / 3.277 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/6.998, allocations: 63.95 kB / 3.277 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/6.998, allocations: 3.625 kB / 3.277 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003774/6.999, allocations: 188.6 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/6.999, allocations: 5.406 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/6.999, allocations: 0 / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/6.999, allocations: 2.828 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/6.999, allocations: 37.2 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/6.999, allocations: 1.438 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/6.999, allocations: 35.97 kB / 3.277 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/6.999, allocations: 7.188 kB / 3.277 GB, free: 251.6 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 9.157e-05/6.999, allocations: 121.1 kB / 3.277 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/6.999, allocations: 22.12 kB / 3.277 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.181e-05/7, allocations: 34.92 kB / 3.277 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/7, allocations: 1.281 kB / 3.277 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/7, allocations: 5.297 kB / 3.278 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/7, allocations: 5.062 kB / 3.278 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/7.001, allocations: 0.6511 MB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/7.001, allocations: 2.188 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/7.001, allocations: 32.02 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/7.001, allocations: 6.016 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/7.001, allocations: 9.688 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/7.001, allocations: 7 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/7.001, allocations: 5.219 kB / 3.278 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/7.001, allocations: 413.9 kB / 3.279 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/7.001, allocations: 110.7 kB / 3.279 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/7.001, allocations: 9.688 kB / 3.279 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/7.002, allocations: 22.34 kB / 3.279 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/7.002, allocations: 15.59 kB / 3.279 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/7.002, allocations: 4.969 kB / 3.279 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001715/7.002, allocations: 180 kB / 3.279 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/7.002, allocations: 0 / 3.279 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007068/7.003, allocations: 123.8 kB / 3.279 GB, free: 250.6 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.002042/7.005, allocations: 2.198 MB / 3.281 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003216/7.005, allocations: 146.6 kB / 3.281 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/7.005, allocations: 0.9688 kB / 3.281 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/7.005, allocations: 81.78 kB / 3.281 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/7.006, allocations: 123.9 kB / 3.282 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/7.007, allocations: 385.1 kB / 3.282 GB, free: 249 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/7.007, allocations: 0.7588 MB / 3.283 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002457/7.007, allocations: 62.14 kB / 3.283 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/7.007, allocations: 60.11 kB / 3.283 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/7.007, allocations: 0 / 3.283 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/7.07, allocations: 22.65 MB / 3.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/7.07, allocations: 206.4 kB / 3.305 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/9.69, allocations: 0 / 3.305 GB, free: 247.3 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)