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.001031/0.001031, allocations: 110.8 kB / 16.41 MB, free: 6.512 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.0009876/0.0009876, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.222/1.222, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 286.5 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.8807/0.8807, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 99.83 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3719, allocations: 86.97 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002601/0.3745, allocations: 1.43 MB / 0.7685 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.3753, allocations: 391.5 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.3753, allocations: 0 / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.3753, allocations: 7.922 kB / 0.7688 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.3754, allocations: 3.938 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3759, allocations: 111.7 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.3759, allocations: 23.92 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.376, allocations: 15.66 kB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.3761, allocations: 7.984 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.3761, allocations: 15.92 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3762, allocations: 0 / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.3766, allocations: 275.6 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.3766, allocations: 11.94 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.3766, allocations: 3.938 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3768, allocations: 111.8 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3768, allocations: 4 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3769, allocations: 7.938 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3769, allocations: 0 / 0.7694 GB, free: 1.457 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.0005107/0.3774, allocations: 363.5 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3774, allocations: 8.031 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3775, allocations: 0.9375 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3776, allocations: 170.8 kB / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3776, allocations: 384 / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3776, allocations: 384 / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3778, allocations: 54.17 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3778, allocations: 4.188 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3778, allocations: 7.938 kB / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3778, allocations: 0 / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.378, allocations: 35.95 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.3783, allocations: 249 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3784, allocations: 50.42 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.3785, allocations: 20.89 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/0.3792, allocations: 465.5 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3792, allocations: 30.56 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3792, allocations: 0 / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/0.3796, allocations: 85.64 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.3796, allocations: 51.41 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.3797, allocations: 106 kB / 0.771 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3797, allocations: 25.7 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.3797, allocations: 88.12 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.3797, allocations: 3.906 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.3798, allocations: 13.72 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.3799, allocations: 314.8 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.38, allocations: 27.84 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.38, allocations: 19.98 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3802, allocations: 36.83 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3802, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002129/0.3804, allocations: 73.5 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3804, allocations: 4 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3804, allocations: 96 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3805, allocations: 4 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.3805, allocations: 11.98 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3806, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.3806, allocations: 7.938 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3806, allocations: 0 / 0.7716 GB, free: 14.86 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.351e-05/0.3807, allocations: 125 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.3807, allocations: 3.938 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.381, allocations: 77.19 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.381, allocations: 3.938 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.381, allocations: 0 / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.381, allocations: 77.11 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.381, allocations: 4 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.3811, allocations: 3.984 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.3811, allocations: 4 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002453/0.3814, allocations: 160.8 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002623/0.3817, allocations: 236.5 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.801e-05/0.3818, allocations: 20.05 kB / 0.7723 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.3818, allocations: 91.53 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Backend: time 1.91e-07/0.3818, allocations: 0 / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.3823, allocations: 148.6 kB / 0.7725 GB, free: 13.86 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003743/0.3827, allocations: 0.5494 MB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003451/0.3861, allocations: 1.41 MB / 0.7745 GB, free: 11.86 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)