Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007793/0.0007793, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008093/0.0008093, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9125/0.9125, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7482/0.7482, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009651/0.0009651, allocations: 67.89 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4302, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001346/0.4315, allocations: 0.6109 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005062/0.432, allocations: 356.7 kB / 0.8201 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.432, allocations: 0 / 0.8201 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.432, allocations: 4.5 kB / 0.8201 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.217e-05/0.4321, allocations: 0 / 0.8201 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.4325, allocations: 115.2 kB / 0.8202 GB, free: 24.56 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.4325, allocations: 7.016 kB / 0.8202 GB, free: 24.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.4326, allocations: 2.406 kB / 0.8202 GB, free: 24.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.4326, allocations: 15.19 kB / 0.8202 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.4327, allocations: 4.359 kB / 0.8202 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4327, allocations: 0 / 0.8202 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.433, allocations: 273.9 kB / 0.8205 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.433, allocations: 1.562 kB / 0.8205 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.433, allocations: 9.812 kB / 0.8205 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.4332, allocations: 93.48 kB / 0.8206 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4332, allocations: 2.094 kB / 0.8206 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4332, allocations: 0 / 0.8206 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4332, allocations: 0.9062 kB / 0.8206 GB, free: 24.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002722/0.4335, allocations: 272.7 kB / 0.8208 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4335, allocations: 10.41 kB / 0.8208 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.4336, allocations: 4.469 kB / 0.8208 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.279e-05/0.4337, allocations: 109.2 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4337, allocations: 2.422 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4337, allocations: 5.156 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.869e-05/0.4338, allocations: 37.23 kB / 0.821 GB, free: 24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.4338, allocations: 1.406 kB / 0.821 GB, free: 24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4338, allocations: 3.938 kB / 0.821 GB, free: 24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4338, allocations: 3.078 kB / 0.821 GB, free: 24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.4338, allocations: 2.469 kB / 0.821 GB, free: 24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.4339, allocations: 123.4 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.434, allocations: 25 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.434, allocations: 9.094 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.4344, allocations: 81.59 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.4344, allocations: 36.34 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4344, allocations: 0 / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003954/0.4348, allocations: 178.2 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.4348, allocations: 52.95 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.4348, allocations: 97.95 kB / 0.8216 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.4348, allocations: 29.23 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.4349, allocations: 81.56 kB / 0.8217 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.4349, allocations: 18.3 kB / 0.8217 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.4349, allocations: 14.22 kB / 0.8217 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.868e-05/0.4349, allocations: 316.7 kB / 0.822 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.4349, allocations: 4.703 kB / 0.822 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.435, allocations: 23.64 kB / 0.822 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.435, allocations: 27.55 kB / 0.8221 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.435, allocations: 1.031 kB / 0.8221 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.996e-05/0.4351, allocations: 52.31 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4351, allocations: 10.42 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4351, allocations: 0.5625 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4351, allocations: 5.312 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.4352, allocations: 10.69 kB / 0.8221 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.4352, allocations: 0.8438 kB / 0.8221 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.4352, allocations: 0.9375 kB / 0.8221 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4352, allocations: 3.031 kB / 0.8221 GB, free: 22.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 3.426e-05/0.4352, allocations: 112.4 kB / 0.8222 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.4352, allocations: 6.609 kB / 0.8223 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.4353, allocations: 67.09 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4353, allocations: 1.188 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4353, allocations: 0.7031 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4353, allocations: 1.062 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.959e-05/0.4354, allocations: 124 kB / 0.8224 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4354, allocations: 1.094 kB / 0.8224 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.4354, allocations: 5.453 kB / 0.8224 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4354, allocations: 4.625 kB / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.4354, allocations: 1.969 kB / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4354, allocations: 0.7969 kB / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4354, allocations: 0 / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.247e-05/0.4355, allocations: 82.53 kB / 0.8225 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.4355, allocations: 3.359 kB / 0.8225 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.4356, allocations: 8.766 kB / 0.8225 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.4356, allocations: 1.281 kB / 0.8225 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.4356, allocations: 2.781 kB / 0.8225 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.4356, allocations: 1.25 kB / 0.8225 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.313e-05/0.4356, allocations: 86.2 kB / 0.8226 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4356, allocations: 0 / 0.8226 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000147/0.4358, allocations: 24.61 kB / 0.8227 GB, free: 22.36 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001404/0.4359, allocations: 121.3 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.436, allocations: 18.12 kB / 0.8228 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.436, allocations: 3.938 kB / 0.8228 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.436, allocations: 9.844 kB / 0.8228 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.4361, allocations: 2.938 kB / 0.8228 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.4363, allocations: 139.2 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.4364, allocations: 0.6803 MB / 0.8236 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.4364, allocations: 9.875 kB / 0.8236 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4364, allocations: 0.9375 kB / 0.8236 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.001895/0.4383, allocations: 0.7719 MB / 0.8244 GB, free: 21.34 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.511789427837357] Failed to read output from testmodel.py, exit status != 0: 0.4438845671247691 0.45443413299999996 0.018520859 Calling exit ...