Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8755/0.8755, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 0.5987 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4379, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001608/0.4396, allocations: 0.637 MB / 0.6808 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.4402, allocations: 356 kB / 0.6812 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.4402, allocations: 0 / 0.6812 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.4403, allocations: 0 / 0.6812 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.4403, allocations: 5.281 kB / 0.6812 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.4407, allocations: 121.1 kB / 0.6813 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.4408, allocations: 18.83 kB / 0.6813 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4408, allocations: 2.875 kB / 0.6813 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.4409, allocations: 16.12 kB / 0.6813 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.4409, allocations: 11.81 kB / 0.6814 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.4409, allocations: 5.25 kB / 0.6814 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.4413, allocations: 280.7 kB / 0.6816 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.4413, allocations: 5.219 kB / 0.6816 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.4413, allocations: 19.09 kB / 0.6816 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.4415, allocations: 102.8 kB / 0.6817 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4415, allocations: 0 / 0.6817 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4415, allocations: 0 / 0.6817 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4415, allocations: 0.9062 kB / 0.6817 GB, free: 4.902 MB / 0.4981 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.0004044/0.4419, allocations: 361.3 kB / 0.6821 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.442, allocations: 10.34 kB / 0.6821 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.442, allocations: 36 kB / 0.6821 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4421, allocations: 3.656 kB / 0.6821 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.4421, allocations: 169.5 kB / 0.6823 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4421, allocations: 9.438 kB / 0.6823 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.4422, allocations: 12.27 kB / 0.6823 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4423, allocations: 52.7 kB / 0.6824 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4423, allocations: 7.875 kB / 0.6824 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4423, allocations: 1.312 kB / 0.6824 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4423, allocations: 1.344 kB / 0.6824 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.4424, allocations: 18.02 kB / 0.6824 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.4425, allocations: 162.9 kB / 0.6826 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.4426, allocations: 61.08 kB / 0.6826 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.4426, allocations: 25.61 kB / 0.6826 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.4432, allocations: 460.3 kB / 0.6831 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4433, allocations: 35.72 kB / 0.6831 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4433, allocations: 0 / 0.6831 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00117/0.4444, allocations: 0.599 MB / 0.6837 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.4445, allocations: 53.72 kB / 0.6837 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.4445, allocations: 97.5 kB / 0.6838 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4445, allocations: 31.14 kB / 0.6839 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/0.4445, allocations: 80.14 kB / 0.6839 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.4446, allocations: 35.97 kB / 0.684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.4446, allocations: 26.09 kB / 0.684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.4446, allocations: 321.4 kB / 0.6843 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.4447, allocations: 19.28 kB / 0.6843 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.4447, allocations: 25.73 kB / 0.6844 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.4448, allocations: 49.2 kB / 0.6844 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4448, allocations: 0 / 0.6844 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001422/0.4449, allocations: 115 kB / 0.6845 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.445, allocations: 5.594 kB / 0.6845 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.445, allocations: 0 / 0.6845 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.445, allocations: 1.062 kB / 0.6845 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4451, allocations: 21.73 kB / 0.6845 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4451, allocations: 5.188 kB / 0.6845 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.4451, allocations: 8 kB / 0.6845 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4451, allocations: 2.75 kB / 0.6846 GB, free: 2.047 MB / 0.4981 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 5.132e-05/0.4452, allocations: 116.5 kB / 0.6847 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.4452, allocations: 15.31 kB / 0.6847 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.4454, allocations: 108.4 kB / 0.6848 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4454, allocations: 1.406 kB / 0.6848 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4454, allocations: 0 / 0.6848 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4454, allocations: 0 / 0.6848 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.4457, allocations: 361 kB / 0.6851 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4457, allocations: 0 / 0.6851 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4458, allocations: 21.3 kB / 0.6851 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4458, allocations: 1.156 kB / 0.6851 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4458, allocations: 5.156 kB / 0.6852 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4458, allocations: 0.9062 kB / 0.6852 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4458, allocations: 0 / 0.6852 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.446, allocations: 222.3 kB / 0.6854 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.446, allocations: 88.59 kB / 0.6854 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4461, allocations: 5.031 kB / 0.6855 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.4461, allocations: 6.406 kB / 0.6855 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.4462, allocations: 7.859 kB / 0.6855 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4462, allocations: 2.219 kB / 0.6855 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.035e-05/0.4462, allocations: 81.73 kB / 0.6855 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4462, allocations: 0.9688 kB / 0.6855 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002764/0.4465, allocations: 44.06 kB / 0.6856 GB, free: 1.09 MB / 0.4981 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.0004992/0.447, allocations: 0.8011 MB / 0.6864 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.4471, allocations: 52.45 kB / 0.6864 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4471, allocations: 1.781 kB / 0.6864 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.4472, allocations: 34.55 kB / 0.6865 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.4474, allocations: 2.812 kB / 0.6865 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.4488, allocations: 1.394 MB / 0.6878 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4491, allocations: 0.6887 MB / 0.6885 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.4492, allocations: 17.05 kB / 0.6885 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.4492, allocations: 17.56 kB / 0.6885 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.4492, allocations: 0 / 0.6885 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.4767, allocations: 2.495 MB / 0.691 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.532, allocations: 15.48 kB / 0.691 GB, free: 13.02 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.002181745134294] Failed to read output from testmodel.py, exit status != 0: 8.604471724946052 8.632341662 8.185865011 Calling exit ...