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.005402/0.005402, allocations: 105 kB / 15.73 MB, free: 6.055 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.001104/0.001104, allocations: 190.7 kB / 16.67 MB, free: 5.977 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.38/1.38, 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.001996/0.001996, allocations: 292.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9705/0.9705, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001732, allocations: 91.86 kB / 0.6815 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4203, allocations: 86.98 MB / 0.7664 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001599/0.422, allocations: 0.6206 MB / 0.767 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.4227, allocations: 350.7 kB / 0.7674 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.4228, allocations: 4 kB / 0.7674 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.4228, allocations: 0 / 0.7674 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.282e-05/0.4229, allocations: 7.875 kB / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.4234, allocations: 107.7 kB / 0.7675 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.4235, allocations: 31.95 kB / 0.7675 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.4235, allocations: 4 kB / 0.7675 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.4236, allocations: 11.94 kB / 0.7675 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.4236, allocations: 15.92 kB / 0.7676 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.4237, allocations: 0 / 0.7676 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.4241, allocations: 279.6 kB / 0.7678 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.4241, allocations: 11.92 kB / 0.7678 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.4241, allocations: 11.94 kB / 0.7678 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.4243, allocations: 101.3 kB / 0.7679 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4243, allocations: 7.984 kB / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4243, allocations: 0 / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4243, allocations: 0 / 0.7679 GB, free: 2.328 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.0004485/0.4248, allocations: 359.2 kB / 0.7683 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4248, allocations: 12.03 kB / 0.7683 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.4249, allocations: 8.859 kB / 0.7683 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.425, allocations: 172.3 kB / 0.7685 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.425, allocations: 4.375 kB / 0.7685 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4251, allocations: 4.375 kB / 0.7685 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4252, allocations: 46.25 kB / 0.7685 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4252, allocations: 8.109 kB / 0.7685 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4252, allocations: 7.938 kB / 0.7685 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4252, allocations: 4 kB / 0.7685 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.4253, allocations: 19.98 kB / 0.7686 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.4255, allocations: 161.7 kB / 0.7687 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.4256, allocations: 54.56 kB / 0.7688 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.4256, allocations: 28.84 kB / 0.7688 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.4263, allocations: 461.5 kB / 0.7692 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4263, allocations: 38.5 kB / 0.7693 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.4263, allocations: 0 / 0.7693 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001187/0.4275, allocations: 0.5956 MB / 0.7699 GB, free: 24 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4276, allocations: 51.41 kB / 0.7699 GB, free: 15.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.4277, allocations: 101.8 kB / 0.77 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4277, allocations: 25.7 kB / 0.77 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.4277, allocations: 84.14 kB / 0.7701 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4278, allocations: 39.69 kB / 0.7701 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.4278, allocations: 29.72 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.4279, allocations: 318.8 kB / 0.7705 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.428, allocations: 23.98 kB / 0.7705 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.428, allocations: 16 kB / 0.7705 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.4281, allocations: 56.84 kB / 0.7706 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4281, allocations: 0 / 0.7706 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001569/0.4283, allocations: 111.6 kB / 0.7707 GB, free: 15.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4283, allocations: 4 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.4283, allocations: 4 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4283, allocations: 0 / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4284, allocations: 27.98 kB / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4284, allocations: 0 / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.4284, allocations: 0 / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.4285, allocations: 4 kB / 0.7707 GB, free: 15.09 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.024e-05/0.4285, allocations: 117.8 kB / 0.7708 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.4286, allocations: 11.89 kB / 0.7708 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.4288, allocations: 109.6 kB / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4288, allocations: 0 / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4288, allocations: 0 / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4288, allocations: 4 kB / 0.7709 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.4292, allocations: 354.5 kB / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4292, allocations: 0 / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4293, allocations: 24.08 kB / 0.7713 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4293, allocations: 3.938 kB / 0.7713 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4293, allocations: 192 / 0.7713 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4293, allocations: 0 / 0.7713 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4293, allocations: 4 kB / 0.7713 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4296, allocations: 231.3 kB / 0.7715 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.4297, allocations: 93.08 kB / 0.7716 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4297, allocations: 0 / 0.7716 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.4298, allocations: 4 kB / 0.7716 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.4298, allocations: 4 kB / 0.7716 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.4298, allocations: 7.984 kB / 0.7716 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.4298, allocations: 79.34 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4299, allocations: 4 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002673/0.4301, allocations: 39.94 kB / 0.7718 GB, free: 13.91 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.0002429/0.4304, allocations: 147.1 kB / 0.7719 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.4305, allocations: 68.23 kB / 0.772 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4305, allocations: 0 / 0.772 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.4306, allocations: 43.86 kB / 0.772 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.4308, allocations: 0 / 0.772 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4311, allocations: 181.8 kB / 0.7722 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.4314, allocations: 0.6846 MB / 0.7728 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.4314, allocations: 8 kB / 0.7729 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.4315, allocations: 15.42 kB / 0.7729 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4315, allocations: 0 / 0.7729 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Templates: time 0.003642/0.4351, allocations: 1.423 MB / 0.7743 GB, free: 11.32 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)