Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001189/0.001189, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 290.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8859/0.8859, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 103.8 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3724, allocations: 86.96 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001491/0.3739, allocations: 0.6309 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.3745, allocations: 350.7 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.3745, allocations: 0 / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.3745, allocations: 3.938 kB / 0.768 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.011e-05/0.3746, allocations: 3.938 kB / 0.7681 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.375, allocations: 123.7 kB / 0.7682 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.375, allocations: 23.92 kB / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.3751, allocations: 0 / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.3751, allocations: 15.88 kB / 0.7682 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.3752, allocations: 11.98 kB / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3752, allocations: 4 kB / 0.7682 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.3755, allocations: 279.6 kB / 0.7685 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3755, allocations: 7.938 kB / 0.7685 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.3756, allocations: 15.92 kB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3757, allocations: 99.77 kB / 0.7686 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3758, allocations: 0 / 0.7686 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3758, allocations: 4 kB / 0.7686 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3758, allocations: 0 / 0.7686 GB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003734/0.3761, allocations: 367.1 kB / 0.769 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3762, allocations: 8.031 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.3762, allocations: 4.938 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.3763, allocations: 160.4 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3764, allocations: 4.375 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3764, allocations: 4.375 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3765, allocations: 50.23 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3765, allocations: 12.03 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3765, allocations: 3.938 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3765, allocations: 4 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.3766, allocations: 15.98 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.3767, allocations: 164.2 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.3768, allocations: 58.56 kB / 0.7694 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.3769, allocations: 29.08 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.3775, allocations: 465.4 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3776, allocations: 38.5 kB / 0.7699 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3776, allocations: 7.938 kB / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001125/0.3787, allocations: 0.5837 MB / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3788, allocations: 51.41 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.3788, allocations: 97.86 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3789, allocations: 33.7 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.3789, allocations: 84.12 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3789, allocations: 39.45 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.379, allocations: 29.64 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.3791, allocations: 314.8 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.3791, allocations: 19.98 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.3792, allocations: 27.98 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.3792, allocations: 52.86 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3793, allocations: 4 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001484/0.3794, allocations: 103.8 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3794, allocations: 8 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3794, allocations: 0 / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3795, allocations: 3.984 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.3796, allocations: 20 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3796, allocations: 4 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.3796, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3796, allocations: 0 / 0.7714 GB, free: 15.15 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 (13): * Single equations (assignments): 13 * 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 7.478e-05/0.3797, allocations: 128.2 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.3797, allocations: 11.84 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3799, allocations: 105.6 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3799, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3799, allocations: 4 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.38, allocations: 81.09 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.38, allocations: 8 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.3801, allocations: 3.984 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.3801, allocations: 4 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002119/0.3803, allocations: 188.7 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002478/0.3806, allocations: 287.1 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.918e-05/0.3806, allocations: 36.06 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.3806, allocations: 79.27 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.3807, allocations: 4 kB / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.3811, allocations: 164.7 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003698/0.3815, allocations: 0.6008 MB / 0.773 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Templates: time 0.003578/0.3851, allocations: 1.614 MB / 0.7746 GB, free: 11.78 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)