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.001697/0.001697, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.002017/0.002017, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.477/1.477, 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.002501/0.002501, allocations: 300.9 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 1.003/1.003, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 95.86 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4409, allocations: 86.97 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00184/0.4427, allocations: 0.6096 MB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.4434, allocations: 354.7 kB / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.4435, allocations: 0 / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.4435, allocations: 3.938 kB / 0.768 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.4435, allocations: 7.875 kB / 0.7681 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.444, allocations: 119.2 kB / 0.7682 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.4441, allocations: 23.97 kB / 0.7682 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.4441, allocations: 4 kB / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.4442, allocations: 15.88 kB / 0.7682 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.4442, allocations: 11.98 kB / 0.7682 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.4442, allocations: 0 / 0.7682 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.4446, allocations: 283.6 kB / 0.7685 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.4446, allocations: 7.922 kB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.4447, allocations: 15.92 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.4449, allocations: 105.3 kB / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4449, allocations: 0 / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4449, allocations: 0 / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.4449, allocations: 0 / 0.7686 GB, free: 2.344 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.0005333/0.4454, allocations: 367.2 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4454, allocations: 8.031 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.4455, allocations: 4.938 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.4457, allocations: 168.3 kB / 0.7691 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.4457, allocations: 4.375 kB / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.4457, allocations: 4.375 kB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4458, allocations: 50.23 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4458, allocations: 4.172 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4458, allocations: 11.88 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4459, allocations: 8 kB / 0.7692 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.4459, allocations: 15.98 kB / 0.7692 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.4461, allocations: 161.7 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4462, allocations: 54.56 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.4463, allocations: 28.84 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/0.447, allocations: 461.5 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4471, allocations: 38.73 kB / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.4471, allocations: 3.938 kB / 0.7699 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001395/0.4485, allocations: 0.5954 MB / 0.7705 GB, free: 36 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4485, allocations: 55.41 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.4486, allocations: 97.86 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4486, allocations: 25.7 kB / 0.7707 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.4487, allocations: 80.14 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.4487, allocations: 47.67 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.4488, allocations: 33.64 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4489, allocations: 314.8 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.449, allocations: 23.98 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.449, allocations: 19.98 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.4491, allocations: 52.86 kB / 0.7712 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4491, allocations: 0 / 0.7712 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001803/0.4493, allocations: 105.5 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4493, allocations: 4 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.4493, allocations: 4 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4493, allocations: 0 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4494, allocations: 27.98 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4494, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.4495, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4495, allocations: 4 kB / 0.7714 GB, free: 15.1 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 0.000102/0.4496, allocations: 120.2 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.4496, allocations: 11.89 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.4498, allocations: 113.6 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4498, allocations: 0 / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4498, allocations: 0 / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4498, allocations: 0 / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.4503, allocations: 350.7 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4503, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4504, allocations: 27.98 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4504, allocations: 7.984 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4504, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4504, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4504, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4507, allocations: 231.3 kB / 0.7722 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4508, allocations: 89.08 kB / 0.7723 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4508, allocations: 4 kB / 0.7723 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.4508, allocations: 0 / 0.7723 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.4509, allocations: 7.984 kB / 0.7723 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4509, allocations: 8 kB / 0.7723 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.4509, allocations: 79.28 kB / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4509, allocations: 4.062 kB / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000301/0.4512, allocations: 43.92 kB / 0.7724 GB, free: 13.92 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.0002648/0.4515, allocations: 139.1 kB / 0.7726 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4517, allocations: 65.55 kB / 0.7726 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4517, allocations: 0 / 0.7726 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.4517, allocations: 35.92 kB / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.452, allocations: 8.656 kB / 0.7727 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.4523, allocations: 181.8 kB / 0.7728 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4527, allocations: 0.6882 MB / 0.7735 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.4527, allocations: 11.92 kB / 0.7735 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.4528, allocations: 11.44 kB / 0.7735 GB, free: 12.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4528, allocations: 0 / 0.7735 GB, free: 12.73 MB / 0.545 GB Notification: Performance of Templates: time 0.00444/0.4572, allocations: 1.426 MB / 0.7749 GB, free: 11.34 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)