Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001185/0.001185, allocations: 190 kB / 17.35 MB, free: 5.633 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 284.7 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.922/0.922, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3736, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002244/0.3759, allocations: 1.434 MB / 0.7685 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.3766, allocations: 383.5 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.3766, allocations: 0 / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3766, allocations: 7.938 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.3767, allocations: 7.938 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3771, allocations: 113.7 kB / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.3772, allocations: 23.92 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.3772, allocations: 11.64 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.3773, allocations: 15.92 kB / 0.769 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.3773, allocations: 11.98 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3773, allocations: 4 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.3777, allocations: 279.6 kB / 0.7693 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3777, allocations: 3.984 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3777, allocations: 7.938 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3779, allocations: 111.8 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3779, allocations: 4 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3779, allocations: 0 / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3779, allocations: 0 / 0.7694 GB, free: 1.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004155/0.3784, allocations: 355.5 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3784, allocations: 12.03 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3785, allocations: 0.9375 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3786, allocations: 178.8 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3786, allocations: 4.375 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.3786, allocations: 384 / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3788, allocations: 50.23 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3788, allocations: 192 / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3788, allocations: 3.938 kB / 0.77 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3788, allocations: 7.984 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3789, allocations: 31.97 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.3792, allocations: 253 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3794, allocations: 42.44 kB / 0.7703 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.3795, allocations: 28.89 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/0.3801, allocations: 453.5 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3801, allocations: 34.56 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.3801, allocations: 8 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003511/0.3805, allocations: 81.58 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3805, allocations: 59.34 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.3806, allocations: 105.8 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3806, allocations: 25.7 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.3807, allocations: 80.27 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3807, allocations: 15.83 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3807, allocations: 17.72 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.3808, allocations: 310.8 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.3809, allocations: 19.98 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.381, allocations: 11.98 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3811, allocations: 48.88 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3811, allocations: 0 / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.3813, allocations: 77.44 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3814, allocations: 4 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3814, allocations: 0 / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3814, allocations: 0 / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.3815, allocations: 8 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3815, allocations: 8.016 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3815, allocations: 4 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3815, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.283e-05/0.3816, allocations: 116.2 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3816, allocations: 7.938 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.3819, allocations: 73.17 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3819, allocations: 4.031 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3819, allocations: 0 / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3819, allocations: 81.05 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3819, allocations: 4 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.382, allocations: 11.98 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.3821, allocations: 0 / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002363/0.3823, allocations: 144.9 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002568/0.3826, allocations: 244.5 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.815e-05/0.3827, allocations: 27.91 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.3827, allocations: 79.53 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/0.3827, allocations: 0 / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3832, allocations: 150.3 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003704/0.3836, allocations: 0.5533 MB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Templates: time 0.003368/0.387, allocations: 1.419 MB / 0.7745 GB, free: 11.93 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)