Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 107.6 kB / 16.42 MB, free: 6.441 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.001738/0.001738, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 285.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003467/0.003467, allocations: 103.8 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3911, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001556/0.3927, allocations: 0.5301 MB / 0.7676 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.3928, allocations: 35.81 kB / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.3929, allocations: 0 / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.3929, allocations: 0 / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.393, allocations: 19.92 kB / 0.7676 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.29e-05/0.3931, allocations: 3.984 kB / 0.7676 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.3932, allocations: 11.94 kB / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3932, allocations: 3.984 kB / 0.7676 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.3932, allocations: 11.94 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.3933, allocations: 7.938 kB / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3933, allocations: 4 kB / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.3934, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3934, allocations: 15.91 kB / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.3934, allocations: 0 / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.141e-05/0.3935, allocations: 7.938 kB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3935, allocations: 4 kB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3935, allocations: 3.984 kB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3935, allocations: 0 / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003452/0.3939, allocations: 331.1 kB / 0.768 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3939, allocations: 8.031 kB / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.3939, allocations: 8.938 kB / 0.768 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3941, allocations: 176.3 kB / 0.7682 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.3941, allocations: 4.375 kB / 0.7682 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3941, allocations: 384 / 0.7682 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.124e-05/0.3942, allocations: 34.25 kB / 0.7682 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-06/0.3942, allocations: 192 / 0.7682 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.3942, allocations: 3.938 kB / 0.7682 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3942, allocations: 0 / 0.7682 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.3942, allocations: 7.938 kB / 0.7682 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3944, allocations: 157.7 kB / 0.7684 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.3944, allocations: 18.58 kB / 0.7684 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.3945, allocations: 12.91 kB / 0.7684 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-06/0.3945, allocations: 3.938 kB / 0.7684 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3945, allocations: 30.56 kB / 0.7684 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3945, allocations: 0 / 0.7684 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.3946, allocations: 61.55 kB / 0.7685 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3947, allocations: 51.41 kB / 0.7685 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.3948, allocations: 105.8 kB / 0.7686 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3948, allocations: 25.7 kB / 0.7687 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3948, allocations: 88.14 kB / 0.7688 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3948, allocations: 3.906 kB / 0.7688 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.3949, allocations: 17.7 kB / 0.7688 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.395, allocations: 310.8 kB / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.395, allocations: 12.12 kB / 0.7691 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.395, allocations: 17.7 kB / 0.7691 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.3951, allocations: 17.66 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3951, allocations: 4 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.199e-05/0.3952, allocations: 45.69 kB / 0.7692 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3952, allocations: 10.47 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3952, allocations: 3.938 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3952, allocations: 3.938 kB / 0.7692 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.3953, allocations: 11.92 kB / 0.7692 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3953, allocations: 0 / 0.7692 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.3953, allocations: 4 kB / 0.7692 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3953, allocations: 0 / 0.7692 GB, free: 1.508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.736e-05/0.3954, allocations: 112.2 kB / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.3954, allocations: 0 / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.3955, allocations: 61.14 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3955, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3955, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.3956, allocations: 81.02 kB / 0.7694 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3956, allocations: 0 / 0.7694 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.3956, allocations: 7.938 kB / 0.7694 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.3956, allocations: 7.984 kB / 0.7695 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001654/0.3958, allocations: 125 kB / 0.7696 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001557/0.396, allocations: 234.8 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.476e-05/0.396, allocations: 12.17 kB / 0.7698 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.396, allocations: 91.28 kB / 0.7699 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of Backend: time 3.11e-07/0.396, allocations: 3.938 kB / 0.7699 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.3964, allocations: 82.55 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0003717/0.3967, allocations: 0.5599 MB / 0.7705 GB, free: 40 kB / 0.5294 GB Notification: Performance of Templates: time 0.002023/0.3988, allocations: 330.4 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)