Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0007994/0.0007994, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001477/0.001477, allocations: 217.7 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.9582/0.9582, allocations: 230.6 MB / 256 MB, free: 9.801 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.7909/0.7909, 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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001054/0.001054, allocations: 72.67 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.5247, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002237/0.527, allocations: 1.471 MB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.5276, allocations: 396.3 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.5276, allocations: 1.156 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.5277, allocations: 4.594 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.5277, allocations: 4.438 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.5281, allocations: 124.5 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.5282, allocations: 24.89 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.5283, allocations: 8.062 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.5283, allocations: 9.375 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.5284, allocations: 18.58 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.5284, allocations: 3.062 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.5287, allocations: 274.6 kB / 0.8201 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.5287, allocations: 5.266 kB / 0.8201 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.5287, allocations: 14.53 kB / 0.8201 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.5289, allocations: 100.8 kB / 0.8202 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5289, allocations: 0 / 0.8202 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5289, allocations: 8.75 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5289, allocations: 0.6094 kB / 0.8203 GB, free: 15.77 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000386/0.5293, allocations: 291.7 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5294, allocations: 10.78 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.5294, allocations: 31.27 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.5294, allocations: 3.984 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.5295, allocations: 122 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.5295, allocations: 384 / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.5295, allocations: 7.438 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5297, allocations: 48.88 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5297, allocations: 7.938 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5297, allocations: 0 / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5297, allocations: 3.5 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.5298, allocations: 30.08 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.5301, allocations: 233.8 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.5302, allocations: 38.92 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.5302, allocations: 23.45 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/0.5306, allocations: 76.33 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5306, allocations: 35.11 kB / 0.8212 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.5306, allocations: 0 / 0.8212 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002745/0.5309, allocations: 86.41 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.5309, allocations: 56.94 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.531, allocations: 105.5 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.531, allocations: 25.7 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.531, allocations: 84.8 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.5311, allocations: 6.734 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5311, allocations: 12.55 kB / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.5312, allocations: 317.2 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.5312, allocations: 17.33 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.5313, allocations: 20.38 kB / 0.8219 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.5314, allocations: 36.36 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5314, allocations: 7.875 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001352/0.5315, allocations: 79.03 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5315, allocations: 3.562 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5315, allocations: 0 / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5315, allocations: 4.109 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.5316, allocations: 5.781 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5316, allocations: 2.125 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.5316, allocations: 9.516 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.5316, allocations: 4.656 kB / 0.822 GB, free: 14.17 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 (2): * Single equations (assignments): 2 * 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 6.461e-05/0.5317, allocations: 116.8 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.5317, allocations: 2.719 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.5319, allocations: 77.44 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5319, allocations: 3.938 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5319, allocations: 0 / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5319, allocations: 0.6562 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.532, allocations: 133.5 kB / 0.8223 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.532, allocations: 0 / 0.8223 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.532, allocations: 13.58 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.532, allocations: 256 / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.532, allocations: 1.938 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.532, allocations: 4.609 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.532, allocations: 0 / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.5322, allocations: 169.4 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.5322, allocations: 4.656 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.5322, allocations: 1.938 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.5323, allocations: 5 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5323, allocations: 3.469 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.5323, allocations: 0 / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.5323, allocations: 86.62 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5323, allocations: 3.938 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001677/0.5325, allocations: 17.11 kB / 0.8226 GB, free: 13.59 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 (2): * Single equations (assignments): 2 * 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.0004274/0.5329, allocations: 0.709 MB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.5331, allocations: 42.77 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5331, allocations: 4.062 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.5331, allocations: 20.83 kB / 0.8234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5334, allocations: 10.12 kB / 0.8234 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.5337, allocations: 143.7 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.5339, allocations: 0.6765 MB / 0.8242 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.5339, allocations: 1.969 kB / 0.8242 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.5339, allocations: 16.94 kB / 0.8242 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5339, allocations: 0 / 0.8242 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.5508, allocations: 1.712 MB / 0.8259 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/7.198, allocations: 7.078 kB / 0.8259 GB, free: 11.6 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.101257730973884] Failed to read output from testmodel.py, exit status != 0: 7.274789977120236 7.289102457 6.758184296 Calling exit ...