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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 106.9 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009833, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 295 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.89/0.89, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 106.9 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 86.96 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4554/0.6084, allocations: 159.1 MB / 0.8357 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.6102, allocations: 0.9586 MB / 0.8366 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.6104, allocations: 7.938 kB / 0.8366 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.6109, allocations: 135.3 kB / 0.8367 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.6122, allocations: 0.593 MB / 0.8373 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.6127, allocations: 202.7 kB / 0.8375 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.6133, allocations: 0.5265 MB / 0.838 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.6136, allocations: 176.2 kB / 0.8382 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.6139, allocations: 235.1 kB / 0.8384 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.6142, allocations: 171.3 kB / 0.8386 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.6142, allocations: 16 kB / 0.8386 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000733/0.6149, allocations: 0.561 MB / 0.8391 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.615, allocations: 83.8 kB / 0.8392 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.6152, allocations: 123.3 kB / 0.8393 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.6156, allocations: 351.3 kB / 0.8397 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6156, allocations: 0 / 0.8397 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.103e-06/0.6156, allocations: 0 / 0.8397 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6156, allocations: 0 / 0.8397 GB, free: 12.39 MB / 0.6075 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.001314/0.6169, allocations: 0.5928 MB / 0.8402 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.617, allocations: 8.031 kB / 0.8402 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.6172, allocations: 55.69 kB / 0.8403 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.6175, allocations: 274.7 kB / 0.8406 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.6176, allocations: 12.33 kB / 0.8406 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.6176, allocations: 20 kB / 0.8406 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.6181, allocations: 247 kB / 0.8408 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6181, allocations: 0 / 0.8408 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.6181, allocations: 11.94 kB / 0.8408 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.6182, allocations: 8 kB / 0.8409 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.6188, allocations: 255.6 kB / 0.8411 GB, free: 10.83 MB / 0.6075 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.001145/0.62, allocations: 0.8393 MB / 0.8419 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.6203, allocations: 142.6 kB / 0.842 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.6205, allocations: 113.3 kB / 0.8422 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.6207, allocations: 194.1 kB / 0.8423 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6208, allocations: 34.56 kB / 0.8424 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.6208, allocations: 0 / 0.8424 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007897/0.6216, allocations: 304.3 kB / 0.8427 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.6216, allocations: 55.41 kB / 0.8427 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.6219, allocations: 241 kB / 0.8429 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.6219, allocations: 29.7 kB / 0.843 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.622, allocations: 132.2 kB / 0.8431 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.622, allocations: 51.3 kB / 0.8432 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.6221, allocations: 37.61 kB / 0.8432 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6222, allocations: 334.8 kB / 0.8435 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.6224, allocations: 67.95 kB / 0.8436 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.6226, allocations: 107.4 kB / 0.8437 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.623, allocations: 162.5 kB / 0.8438 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.623, allocations: 4 kB / 0.8438 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004199/0.6234, allocations: 213.3 kB / 0.844 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6235, allocations: 4 kB / 0.844 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6235, allocations: 7.938 kB / 0.844 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.6235, allocations: 0 / 0.844 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.6237, allocations: 36.47 kB / 0.8441 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6237, allocations: 0 / 0.8441 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.6239, allocations: 27.89 kB / 0.8441 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.6239, allocations: 8 kB / 0.8441 GB, free: 7.531 MB / 0.6075 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.0001192/0.624, allocations: 133.8 kB / 0.8442 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.6241, allocations: 29.91 kB / 0.8443 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.6241, allocations: 37.77 kB / 0.8443 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6242, allocations: 0 / 0.8443 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6242, allocations: 0 / 0.8443 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6242, allocations: 7.984 kB / 0.8443 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.6252, allocations: 0.6778 MB / 0.845 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.6252, allocations: 0 / 0.845 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.6253, allocations: 35.91 kB / 0.845 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6253, allocations: 11.88 kB / 0.845 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.6254, allocations: 4 kB / 0.845 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6254, allocations: 4 kB / 0.845 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6254, allocations: 7.984 kB / 0.845 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.6258, allocations: 348.3 kB / 0.8454 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.626, allocations: 120.8 kB / 0.8455 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.626, allocations: 0 / 0.8455 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6262, allocations: 15.98 kB / 0.8455 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.6262, allocations: 15.92 kB / 0.8455 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6263, allocations: 9.25 kB / 0.8455 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001444/0.6264, allocations: 176.5 kB / 0.8457 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6264, allocations: 0 / 0.8457 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003361/0.6268, allocations: 63.94 kB / 0.8458 GB, free: 5.727 MB / 0.6075 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.0003358/0.6271, allocations: 160 kB / 0.8459 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.6275, allocations: 179.8 kB / 0.8461 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6275, allocations: 0 / 0.8461 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.6277, allocations: 100.3 kB / 0.8462 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.6284, allocations: 124.2 kB / 0.8463 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.6291, allocations: 0.5332 MB / 0.8468 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.6295, allocations: 0.7519 MB / 0.8475 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.6295, allocations: 23.44 kB / 0.8476 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6295, allocations: 0 / 0.8476 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.005727/0.6353, allocations: 3.707 MB / 0.8512 GB, free: 132 kB / 0.6075 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)