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.00092/0.00092, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008805/0.0008805, allocations: 214.3 kB / 22.26 MB, free: 3.699 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.9273/0.9273, allocations: 230.6 MB / 256 MB, free: 9.648 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.8166/0.8166, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.000988/0.000988, allocations: 66.23 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5521, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001542/0.5536, allocations: 0.6063 MB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.5543, allocations: 354.7 kB / 0.8188 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.5543, allocations: 0 / 0.8188 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.5543, allocations: 0 / 0.8188 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.5543, allocations: 0 / 0.8188 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.5548, allocations: 118.2 kB / 0.8189 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.5548, allocations: 13.09 kB / 0.819 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.5549, allocations: 0.7031 kB / 0.819 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.5549, allocations: 7.453 kB / 0.819 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.555, allocations: 7.172 kB / 0.819 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.555, allocations: 0.9375 kB / 0.819 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.5553, allocations: 272.7 kB / 0.8192 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.5553, allocations: 9.812 kB / 0.8192 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.5553, allocations: 7.969 kB / 0.8193 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.5555, allocations: 90.11 kB / 0.8193 GB, free: 500 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5555, allocations: 2.188 kB / 0.8193 GB, free: 500 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5555, allocations: 0 / 0.8193 GB, free: 500 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5555, allocations: 4 kB / 0.8193 GB, free: 496 kB / 0.6042 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.0002582/0.5558, allocations: 271.1 kB / 0.8196 GB, free: 208 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5558, allocations: 10.38 kB / 0.8196 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.268e-05/0.5558, allocations: 30.75 kB / 0.8196 GB, free: 168 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.5559, allocations: 2.688 kB / 0.8196 GB, free: 168 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.099e-05/0.5559, allocations: 105 kB / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5559, allocations: 10 kB / 0.8198 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.556, allocations: 5.016 kB / 0.8198 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5561, allocations: 36.73 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5561, allocations: 3.938 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.5561, allocations: 1.703 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5561, allocations: 0 / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.5561, allocations: 6.688 kB / 0.8198 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.5563, allocations: 125.9 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.5563, allocations: 22.81 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.5563, allocations: 13.11 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/0.5567, allocations: 78.14 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5567, allocations: 35.31 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5567, allocations: 4 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004477/0.5572, allocations: 180.4 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.5572, allocations: 51.97 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.5573, allocations: 98.08 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.5573, allocations: 25.7 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.5573, allocations: 81 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.5573, allocations: 14.2 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.5574, allocations: 19.38 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.5574, allocations: 312.2 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.5574, allocations: 10.14 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.5575, allocations: 14 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.5575, allocations: 34.28 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5575, allocations: 0 / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.89e-05/0.5576, allocations: 46.95 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5576, allocations: 10.42 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5576, allocations: 3.938 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.5576, allocations: 1.531 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.5577, allocations: 6.312 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5577, allocations: 5.844 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.5577, allocations: 4 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5577, allocations: 5.359 kB / 0.821 GB, free: 14.84 MB / 0.6198 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 5.141e-05/0.5577, allocations: 110.6 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.5578, allocations: 7.875 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5579, allocations: 57.38 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5579, allocations: 3.938 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5579, allocations: 0 / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5579, allocations: 0.6094 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.435e-05/0.5579, allocations: 125.4 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5579, allocations: 4.656 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.558, allocations: 6.562 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.558, allocations: 3.938 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.558, allocations: 4.562 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.558, allocations: 0 / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.558, allocations: 0.6094 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.5581, allocations: 72.98 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.5581, allocations: 12.83 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5581, allocations: 6.75 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.5581, allocations: 0.8438 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.5582, allocations: 2.625 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5582, allocations: 2.062 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.5582, allocations: 79.88 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5582, allocations: 1.219 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000145/0.5583, allocations: 24.52 kB / 0.8215 GB, free: 14.34 MB / 0.6198 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.0003638/0.5587, allocations: 0.6449 MB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.5588, allocations: 17.94 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5588, allocations: 0 / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.5588, allocations: 11.09 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.5589, allocations: 5.188 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.5596, allocations: 1.134 MB / 0.8232 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.5598, allocations: 0.6761 MB / 0.8239 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.5598, allocations: 3.938 kB / 0.8239 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.5598, allocations: 11.88 kB / 0.8239 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5598, allocations: 0 / 0.8239 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.5772, allocations: 1.845 MB / 0.8257 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/7.181, allocations: 7.453 kB / 0.8257 GB, free: 11.46 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.116838138084859] Failed to read output from testmodel.py, exit status != 0: 7.257356252986938 7.268563174 6.710975304 Calling exit ...