Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0007696/0.0007696, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008185/0.0008185, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.728/0.728, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.184e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0013/0.001322, allocations: 0.6239 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.001796, allocations: 318.8 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.001822, allocations: 0 / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.001837, allocations: 7.938 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.671e-05/0.001863, allocations: 0 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.002224, allocations: 119.1 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.002283, allocations: 19.98 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.002321, allocations: 11.92 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.002368, allocations: 11.98 kB / 0.6192 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.002414, allocations: 11.92 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.002429, allocations: 7.938 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.002667, allocations: 259.6 kB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002682, allocations: 7.984 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.002699, allocations: 4 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.002874, allocations: 139.6 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.002876, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002877, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.00288, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 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.0003507/0.003231, allocations: 280.4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.003273, allocations: 9.469 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.003306, allocations: 42.73 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.003355, allocations: 8.891 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.003435, allocations: 113.7 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003444, allocations: 384 / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.003467, allocations: 8.375 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.003582, allocations: 97.66 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.003592, allocations: 192 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.0036, allocations: 384 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003605, allocations: 4.125 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.221e-05/0.003647, allocations: 23.92 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.003786, allocations: 136.7 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.003869, allocations: 54.56 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.003902, allocations: 32.84 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.004224, allocations: 83.84 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.004245, allocations: 34.56 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004246, allocations: 4 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008678/0.005114, allocations: 456.8 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.005141, allocations: 51.41 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/0.005188, allocations: 97.86 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.0052, allocations: 25.7 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.005225, allocations: 92.08 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.005257, allocations: 43.62 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.005289, allocations: 29.72 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.005361, allocations: 314.8 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.005392, allocations: 23.98 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.005418, allocations: 20 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.005486, allocations: 56.84 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005487, allocations: 0 / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001035/0.005591, allocations: 97.77 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005603, allocations: 11.94 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.005608, allocations: 0 / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005618, allocations: 0 / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.005695, allocations: 27.97 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005699, allocations: 8 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.005712, allocations: 0 / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.005718, allocations: 4 kB / 0.6218 GB, free: 9.641 MB / 0.5886 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.313e-05/0.005772, allocations: 110.8 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.005786, allocations: 4 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.00592, allocations: 121 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005921, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005925, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005927, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.006208, allocations: 321.5 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006209, allocations: 4 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.006271, allocations: 19.98 kB / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006273, allocations: 4 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006281, allocations: 4.094 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006282, allocations: 3.938 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006283, allocations: 0 / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.00646, allocations: 219.4 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.00648, allocations: 11.95 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006491, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.00657, allocations: 15.98 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.006588, allocations: 8.047 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.006593, allocations: 4 kB / 0.6226 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.006615, allocations: 83.28 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006615, allocations: 0 / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001878/0.006803, allocations: 43.88 kB / 0.6227 GB, free: 8.602 MB / 0.5886 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.0004719/0.007275, allocations: 0.7942 MB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.007377, allocations: 59.47 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007379, allocations: 0 / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.007411, allocations: 39.86 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.007574, allocations: 8.062 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.008448, allocations: 1.387 MB / 0.625 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.008501, allocations: 72.27 kB / 0.625 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.008558, allocations: 8 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.008602, allocations: 24.48 kB / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.008603, allocations: 64 / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.02532, allocations: 3.128 MB / 0.6281 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.131, allocations: 8.062 kB / 0.6281 GB, free: 3.152 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.792174069210887] Failed to read output from testmodel.py, exit status != 0: 7.213917702436447 7.228471713 7.223302064 Calling exit ...