Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0007921/0.0007921, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008345/0.0008345, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9208/0.9208, allocations: 230.6 MB / 256 MB, free: 9.605 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.7577/0.7577, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0008938/0.0008938, allocations: 68.61 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5215, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001242/0.5228, allocations: 0.5896 MB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.5232, allocations: 290.8 kB / 0.8187 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.5232, allocations: 3.938 kB / 0.8187 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.5232, allocations: 0 / 0.8187 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.5232, allocations: 4 kB / 0.8187 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.5236, allocations: 115.8 kB / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.5236, allocations: 5.344 kB / 0.8188 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.5237, allocations: 2 kB / 0.8188 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.5237, allocations: 1.344 kB / 0.8188 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.5237, allocations: 3.938 kB / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.5237, allocations: 0 / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.524, allocations: 253 kB / 0.8191 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.524, allocations: 7.984 kB / 0.8191 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.524, allocations: 4.797 kB / 0.8191 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.5242, allocations: 82.89 kB / 0.8192 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5242, allocations: 0 / 0.8192 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5242, allocations: 1.406 kB / 0.8192 GB, free: 376 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5242, allocations: 0 / 0.8192 GB, free: 376 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000187/0.5244, allocations: 259.1 kB / 0.8194 GB, free: 96 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5244, allocations: 9.672 kB / 0.8194 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.029e-05/0.5244, allocations: 30.75 kB / 0.8194 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.5245, allocations: 3.406 kB / 0.8194 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.5245, allocations: 111.6 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.5246, allocations: 1.344 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.5246, allocations: 384 / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.018e-05/0.5246, allocations: 33.75 kB / 0.8196 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5247, allocations: 11.86 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.5247, allocations: 1.438 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5247, allocations: 0.6562 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.5247, allocations: 1.5 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.602e-05/0.5248, allocations: 117.2 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.5248, allocations: 23.02 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.5248, allocations: 12.86 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.5251, allocations: 41.45 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5251, allocations: 31.08 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.5251, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.5252, allocations: 44.78 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.5253, allocations: 51.41 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.74e-05/0.5253, allocations: 94.55 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.5253, allocations: 25.7 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.5253, allocations: 83.98 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.5253, allocations: 0.6094 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.5254, allocations: 13.72 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.5254, allocations: 314.4 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.5255, allocations: 3.938 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.5255, allocations: 1.438 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.5255, allocations: 12.44 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5255, allocations: 0 / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.839e-05/0.5255, allocations: 36.69 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5255, allocations: 5.438 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5255, allocations: 3.938 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5256, allocations: 2.75 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.5256, allocations: 0.6562 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5256, allocations: 2.125 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-06/0.5256, allocations: 4 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.5256, allocations: 0 / 0.8205 GB, free: 14.93 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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 4.721e-05/0.5256, allocations: 114.9 kB / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.5257, allocations: 32 / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.5257, allocations: 50.03 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5257, allocations: 3.047 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5257, allocations: 4 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5257, allocations: 0 / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.427e-05/0.5258, allocations: 124.9 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5258, allocations: 0.5156 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.5258, allocations: 0 / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5258, allocations: 4.547 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5258, allocations: 6.5 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5258, allocations: 4.594 kB / 0.8208 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.5258, allocations: 0 / 0.8208 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.584e-05/0.5258, allocations: 60.16 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.5259, allocations: 6.797 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.5259, allocations: 4.5 kB / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-06/0.5259, allocations: 0 / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.5259, allocations: 2.844 kB / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.5259, allocations: 0 / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.5259, allocations: 75.28 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5259, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001237/0.526, allocations: 13.97 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002568/0.5263, allocations: 0.6065 MB / 0.8215 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.5263, allocations: 5.688 kB / 0.8215 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5263, allocations: 2.25 kB / 0.8215 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.5263, allocations: 0 / 0.8215 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.823e-05/0.5264, allocations: 2.938 kB / 0.8215 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.5266, allocations: 118.4 kB / 0.8217 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.5267, allocations: 54.23 kB / 0.8217 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.5267, allocations: 5.516 kB / 0.8217 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.5267, allocations: 7.438 kB / 0.8217 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.5267, allocations: 3.688 kB / 0.8217 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.5415, allocations: 1.675 MB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/7.301, allocations: 2.766 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.073364032898098] Failed to read output from testmodel.py, exit status != 0: 7.37950646225363 7.391602304 6.865206565 Calling exit ...