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.004551/0.004551, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.00105/0.00105, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.253/1.253, allocations: 222.9 MB / 240.4 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.00214/0.00214, allocations: 301.2 kB / 290.8 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.9143/0.9143, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 99.84 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4086, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002094/0.4108, allocations: 0.6171 MB / 0.767 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.4116, allocations: 350.7 kB / 0.7674 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.4116, allocations: 0 / 0.7674 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.4117, allocations: 7.875 kB / 0.7674 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.4117, allocations: 0 / 0.7674 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.4123, allocations: 127 kB / 0.7675 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.4124, allocations: 15.98 kB / 0.7675 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.4124, allocations: 8 kB / 0.7675 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.4125, allocations: 15.92 kB / 0.7675 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.4126, allocations: 4 kB / 0.7675 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4126, allocations: 0 / 0.7675 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.413, allocations: 283.6 kB / 0.7678 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.413, allocations: 11.94 kB / 0.7678 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.4131, allocations: 19.86 kB / 0.7678 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.4133, allocations: 99.77 kB / 0.7679 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4133, allocations: 0 / 0.7679 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4133, allocations: 0 / 0.7679 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4133, allocations: 0 / 0.7679 GB, free: 2.391 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.0004977/0.4138, allocations: 371.1 kB / 0.7683 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4139, allocations: 8.031 kB / 0.7683 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.414, allocations: 4.938 kB / 0.7683 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4141, allocations: 164.3 kB / 0.7685 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4141, allocations: 384 / 0.7685 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4142, allocations: 4.375 kB / 0.7685 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4143, allocations: 54.23 kB / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4143, allocations: 4.094 kB / 0.7685 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4144, allocations: 3.938 kB / 0.7685 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4144, allocations: 4 kB / 0.7685 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.4144, allocations: 19.98 kB / 0.7685 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.4146, allocations: 164.2 kB / 0.7687 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4147, allocations: 62.5 kB / 0.7688 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.4148, allocations: 33.08 kB / 0.7688 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.4154, allocations: 465.4 kB / 0.7692 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4155, allocations: 30.56 kB / 0.7693 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.4155, allocations: 3.938 kB / 0.7693 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001172/0.4166, allocations: 0.5915 MB / 0.7699 GB, free: 92 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4167, allocations: 51.41 kB / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.4168, allocations: 93.86 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4168, allocations: 29.7 kB / 0.77 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.4168, allocations: 92.11 kB / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.4169, allocations: 39.41 kB / 0.7701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.4169, allocations: 33.64 kB / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.417, allocations: 314.8 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.4171, allocations: 19.98 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.4171, allocations: 23.98 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.4172, allocations: 52.86 kB / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4172, allocations: 0 / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001451/0.4174, allocations: 105.5 kB / 0.7707 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4174, allocations: 4 kB / 0.7707 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4174, allocations: 4 kB / 0.7707 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4174, allocations: 4 kB / 0.7707 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.4175, allocations: 19.94 kB / 0.7707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4175, allocations: 0 / 0.7707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.4176, allocations: 11.98 kB / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4176, allocations: 0 / 0.7707 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.648e-05/0.4177, allocations: 116.2 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4177, allocations: 11.84 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.4179, allocations: 113.5 kB / 0.7709 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4179, allocations: 4 kB / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4179, allocations: 0 / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4179, allocations: 3.984 kB / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4182, allocations: 342.5 kB / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4183, allocations: 4 kB / 0.7713 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.4184, allocations: 19.94 kB / 0.7713 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4184, allocations: 0 / 0.7713 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4184, allocations: 7.984 kB / 0.7713 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4184, allocations: 4 kB / 0.7713 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4184, allocations: 4 kB / 0.7713 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.4186, allocations: 219.3 kB / 0.7715 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4187, allocations: 85.12 kB / 0.7716 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.4187, allocations: 0 / 0.7716 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.4188, allocations: 8 kB / 0.7716 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.4188, allocations: 7.984 kB / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.4188, allocations: 4 kB / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.4189, allocations: 83.28 kB / 0.7717 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4189, allocations: 0 / 0.7717 GB, free: 14.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002498/0.4191, allocations: 43.98 kB / 0.7717 GB, free: 13.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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.0002092/0.4193, allocations: 143.2 kB / 0.7719 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.4195, allocations: 63.84 kB / 0.7719 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4195, allocations: 7.938 kB / 0.772 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.4195, allocations: 28.44 kB / 0.772 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.4197, allocations: 9.344 kB / 0.772 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.4201, allocations: 191.5 kB / 0.7722 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4203, allocations: 0.6846 MB / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.688e-05/0.4204, allocations: 16.25 kB / 0.7729 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.4204, allocations: 11.44 kB / 0.7729 GB, free: 12.78 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4204, allocations: 7.938 kB / 0.7729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Templates: time 0.00345/0.4239, allocations: 1.432 MB / 0.7743 GB, free: 11.38 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)