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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8573/0.8573, allocations: 143.4 MB / 159.2 MB, free: 4.891 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.001573/0.001573, allocations: 191 kB / 191.9 MB, free: 5.73 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.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.871 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.0009633/0.0009634, allocations: 106.6 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.001849, allocations: 278.1 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 79.89 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3759, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4829/0.8589, allocations: 159.1 MB / 0.9233 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.8607, allocations: 0.9572 MB / 0.9242 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.861, allocations: 7.281 kB / 0.9242 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.8615, allocations: 133.3 kB / 0.9243 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.8631, allocations: 0.6017 MB / 0.9249 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.8636, allocations: 202.6 kB / 0.9251 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008255/0.8645, allocations: 0.7441 MB / 0.9258 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.8648, allocations: 160.2 kB / 0.926 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.8652, allocations: 209.3 kB / 0.9262 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.8654, allocations: 174.2 kB / 0.9264 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.8654, allocations: 10.25 kB / 0.9264 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.8664, allocations: 0.6355 MB / 0.927 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.8665, allocations: 82.36 kB / 0.9271 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.8666, allocations: 109.4 kB / 0.9272 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.8674, allocations: 0.5061 MB / 0.9277 GB, free: 372 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8674, allocations: 3.812 kB / 0.9277 GB, free: 372 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8675, allocations: 1.688 kB / 0.9277 GB, free: 372 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8675, allocations: 0 / 0.9277 GB, free: 372 kB / 0.5573 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.001351/0.8688, allocations: 0.5997 MB / 0.9283 GB, free: 15.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8689, allocations: 10.44 kB / 0.9283 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.8691, allocations: 48.8 kB / 0.9283 GB, free: 15.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.8695, allocations: 275.9 kB / 0.9286 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8695, allocations: 11.61 kB / 0.9286 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.8695, allocations: 18.84 kB / 0.9286 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.87, allocations: 241.7 kB / 0.9288 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.87, allocations: 0 / 0.9288 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.87, allocations: 11.12 kB / 0.9288 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.8701, allocations: 10.75 kB / 0.9289 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.8707, allocations: 247.8 kB / 0.9291 GB, free: 15.65 MB / 0.573 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.00121/0.8719, allocations: 0.8443 MB / 0.9299 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.8722, allocations: 141.5 kB / 0.9301 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.8725, allocations: 112.9 kB / 0.9302 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.8728, allocations: 185.3 kB / 0.9303 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.8728, allocations: 40.14 kB / 0.9304 GB, free: 14.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.8728, allocations: 0 / 0.9304 GB, free: 14.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.000891/0.8737, allocations: 308.1 kB / 0.9307 GB, free: 14.89 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.8738, allocations: 53.69 kB / 0.9307 GB, free: 14.83 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.874, allocations: 243.2 kB / 0.931 GB, free: 14.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.8741, allocations: 25.7 kB / 0.931 GB, free: 14.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8742, allocations: 137.7 kB / 0.9311 GB, free: 14.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.8742, allocations: 54.36 kB / 0.9312 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.8743, allocations: 36.84 kB / 0.9312 GB, free: 14.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8744, allocations: 332 kB / 0.9315 GB, free: 14.24 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.8746, allocations: 67.77 kB / 0.9316 GB, free: 14.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.8748, allocations: 107.6 kB / 0.9317 GB, free: 14.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.8752, allocations: 168 kB / 0.9318 GB, free: 14.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8752, allocations: 0 / 0.9318 GB, free: 14.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000444/0.8757, allocations: 210.4 kB / 0.932 GB, free: 14.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8757, allocations: 6.906 kB / 0.932 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.8757, allocations: 5.281 kB / 0.9321 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8757, allocations: 6.578 kB / 0.9321 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8759, allocations: 33.48 kB / 0.9321 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8759, allocations: 0 / 0.9321 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.8761, allocations: 31.98 kB / 0.9321 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.8762, allocations: 5.938 kB / 0.9321 GB, free: 14.12 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.8763, allocations: 140 kB / 0.9323 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.8763, allocations: 23.25 kB / 0.9323 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.8764, allocations: 42.39 kB / 0.9323 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8764, allocations: 1.781 kB / 0.9323 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8765, allocations: 2.844 kB / 0.9323 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.8765, allocations: 0 / 0.9323 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.8775, allocations: 0.677 MB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8775, allocations: 1.125 kB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.8777, allocations: 36.14 kB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.8777, allocations: 4 kB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.8777, allocations: 2.625 kB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8778, allocations: 1.188 kB / 0.933 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8778, allocations: 7.5 kB / 0.933 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.8787, allocations: 1.031 MB / 0.934 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8788, allocations: 108.4 kB / 0.9341 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.8789, allocations: 12.8 kB / 0.9342 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.8791, allocations: 11.34 kB / 0.9342 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.8791, allocations: 18.58 kB / 0.9342 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8791, allocations: 5.656 kB / 0.9342 GB, free: 12.72 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001614/0.8793, allocations: 178.9 kB / 0.9344 GB, free: 12.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8793, allocations: 0 / 0.9344 GB, free: 12.64 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004879/0.8798, allocations: 67.17 kB / 0.9344 GB, free: 12.63 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/0.8802, allocations: 157.5 kB / 0.9346 GB, free: 12.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.8806, allocations: 176.7 kB / 0.9347 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8806, allocations: 0 / 0.9347 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.8808, allocations: 95.8 kB / 0.9348 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.8816, allocations: 120.9 kB / 0.935 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.8824, allocations: 0.6568 MB / 0.9356 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.8827, allocations: 0.7616 MB / 0.9363 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.883, allocations: 60.11 kB / 0.9364 GB, free: 11.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.883, allocations: 24 kB / 0.9364 GB, free: 11.34 MB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.883, allocations: 0 / 0.9364 GB, free: 11.34 MB / 0.573 GB Notification: Performance of Templates: time 0.007617/0.8907, allocations: 4.304 MB / 0.9406 GB, free: 11.08 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)