Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 92.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 182.2 kB / 16.92 MB, free: 6.68 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 123 MB / 415.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 9.219 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4706, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.2092/0.6798, allocations: 165 MB / 0.7319 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009347/0.6893, allocations: 7.223 MB / 0.739 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.6896, allocations: 11.94 kB / 0.739 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.6903, allocations: 175 kB / 0.7391 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.6919, allocations: 0.5453 MB / 0.7397 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.693, allocations: 388 kB / 0.74 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.6941, allocations: 1.029 MB / 0.741 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.6944, allocations: 226.3 kB / 0.7413 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.6951, allocations: 338.6 kB / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.6954, allocations: 219 kB / 0.7418 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.6954, allocations: 12 kB / 0.7418 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.6966, allocations: 0.7755 MB / 0.7426 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.6968, allocations: 107.6 kB / 0.7427 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.6969, allocations: 164.9 kB / 0.7428 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.6977, allocations: 0.5841 MB / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6977, allocations: 0 / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6977, allocations: 0 / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6977, allocations: 0 / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008268/0.6985, allocations: 0.581 MB / 0.744 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6986, allocations: 12.03 kB / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.6989, allocations: 67.53 kB / 0.744 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.6993, allocations: 310 kB / 0.7443 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.6994, allocations: 20.38 kB / 0.7443 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.6994, allocations: 24 kB / 0.7444 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.6999, allocations: 304.6 kB / 0.7447 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6999, allocations: 0 / 0.7447 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7, allocations: 11.94 kB / 0.7447 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.7, allocations: 8 kB / 0.7447 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.7004, allocations: 191.5 kB / 0.7449 GB, free: 9.629 MB / 0.5762 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.001771/0.7022, allocations: 1.71 MB / 0.7465 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.7025, allocations: 90.56 kB / 0.7466 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.7027, allocations: 92.8 kB / 0.7467 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.703, allocations: 190.1 kB / 0.7469 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.703, allocations: 34.56 kB / 0.7469 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.703, allocations: 0 / 0.7469 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007242/0.7037, allocations: 233.3 kB / 0.7471 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.7038, allocations: 51.41 kB / 0.7472 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.7041, allocations: 324.4 kB / 0.7475 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.7042, allocations: 37.7 kB / 0.7475 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.7043, allocations: 195.8 kB / 0.7477 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7044, allocations: 39.45 kB / 0.7478 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.7044, allocations: 25.66 kB / 0.7478 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7045, allocations: 338.8 kB / 0.7481 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.7047, allocations: 55.95 kB / 0.7482 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.705, allocations: 211.3 kB / 0.7484 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.7054, allocations: 241.5 kB / 0.7486 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7054, allocations: 3.938 kB / 0.7486 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004841/0.7059, allocations: 265 kB / 0.7488 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.706, allocations: 194.3 kB / 0.749 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.706, allocations: 4 kB / 0.749 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.706, allocations: 4 kB / 0.749 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.7062, allocations: 51.91 kB / 0.7491 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7063, allocations: 11.94 kB / 0.7491 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.7065, allocations: 43.75 kB / 0.7491 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.7066, allocations: 12 kB / 0.7492 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.7066, allocations: 4 kB / 0.7492 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003902/0.707, allocations: 199.6 kB / 0.7493 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.707, allocations: 7.938 kB / 0.7494 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.707, allocations: 8.344 kB / 0.7494 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.7072, allocations: 55.97 kB / 0.7494 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7072, allocations: 7.938 kB / 0.7494 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.7074, allocations: 35.73 kB / 0.7495 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.7074, allocations: 19.92 kB / 0.7495 GB, free: 4.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001798/0.7076, allocations: 233 kB / 0.7497 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.7077, allocations: 31.66 kB / 0.7497 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.7081, allocations: 180.7 kB / 0.7499 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.7081, allocations: 4 kB / 0.7499 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7081, allocations: 0 / 0.7499 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7081, allocations: 0 / 0.7499 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.709, allocations: 0.6249 MB / 0.7505 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.709, allocations: 4 kB / 0.7505 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.7092, allocations: 23.98 kB / 0.7505 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.7092, allocations: 4 kB / 0.7505 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.7092, allocations: 4 kB / 0.7505 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.7092, allocations: 8.156 kB / 0.7506 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7092, allocations: 4 kB / 0.7506 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.7096, allocations: 321 kB / 0.7509 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.7097, allocations: 108.8 kB / 0.751 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.7098, allocations: 8 kB / 0.751 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.71, allocations: 23.92 kB / 0.751 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.71, allocations: 11.92 kB / 0.751 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.7101, allocations: 12 kB / 0.751 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002187/0.7103, allocations: 223 kB / 0.7512 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7103, allocations: 4 kB / 0.7512 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000569/0.7109, allocations: 131.8 kB / 0.7514 GB, free: 2.414 MB / 0.5762 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 (11): * Single equations (assignments): 11 * 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.0004182/0.7113, allocations: 172.6 kB / 0.7515 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.7119, allocations: 252.3 kB / 0.7518 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7119, allocations: 0 / 0.7518 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.7121, allocations: 81.08 kB / 0.7518 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.7131, allocations: 133.3 kB / 0.752 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.7139, allocations: 0.6014 MB / 0.7526 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7143, allocations: 0.7719 MB / 0.7533 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002853/0.7146, allocations: 91.47 kB / 0.7534 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.7147, allocations: 27.44 kB / 0.7534 GB, free: 228 kB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.7147, allocations: 0 / 0.7534 GB, free: 228 kB / 0.5762 GB Notification: Performance of Templates: time 0.009589/0.7243, allocations: 4.726 MB / 0.758 GB, free: 11.58 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)