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.000993/0.000993, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001355/0.001355, allocations: 209.7 kB / 22.24 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.9502/0.9502, allocations: 230.6 MB / 256 MB, free: 9.602 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.7749/0.7749, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009186/0.0009186, allocations: 72.92 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5571, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001986/0.5591, allocations: 1.466 MB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.5599, allocations: 355.2 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.5599, allocations: 2.719 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.56, allocations: 4.547 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.56, allocations: 4.5 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.5605, allocations: 118.8 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.5606, allocations: 25.33 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.5607, allocations: 7.875 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.5607, allocations: 12.95 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.5608, allocations: 9.922 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.5608, allocations: 4.375 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.5612, allocations: 258 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.5612, allocations: 9.531 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.5612, allocations: 7.922 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5615, allocations: 113.2 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5615, allocations: 0 / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5615, allocations: 0 / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5615, allocations: 0 / 0.8201 GB, free: 15.62 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.0004318/0.5619, allocations: 293 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.562, allocations: 11 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.562, allocations: 39.38 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.562, allocations: 2.562 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.7e-05/0.5621, allocations: 110.5 kB / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.5621, allocations: 384 / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.5621, allocations: 7.062 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5623, allocations: 49.44 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5623, allocations: 7.922 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5623, allocations: 4.562 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5623, allocations: 3.844 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.5624, allocations: 31 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.5627, allocations: 224.8 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.5628, allocations: 44.91 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.5628, allocations: 23 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003502/0.5632, allocations: 76.16 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5632, allocations: 32.48 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5632, allocations: 0 / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002559/0.5635, allocations: 85.39 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.5635, allocations: 55.86 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.5636, allocations: 101 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5636, allocations: 29.25 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.5636, allocations: 84.78 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.5636, allocations: 11.83 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.5637, allocations: 18.27 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.5637, allocations: 315.9 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.5638, allocations: 16.27 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.5638, allocations: 16.77 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.5639, allocations: 36.92 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5639, allocations: 8.25 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001238/0.564, allocations: 74.34 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.564, allocations: 2.812 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5641, allocations: 4 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5641, allocations: 2.875 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.5641, allocations: 8.172 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5641, allocations: 0.5156 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.5642, allocations: 15.03 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.5642, allocations: 0 / 0.8219 GB, free: 14.02 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.214e-05/0.5642, allocations: 112.4 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.5643, allocations: 2.656 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.5644, allocations: 80.7 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5644, allocations: 0.5625 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5644, allocations: 0 / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5644, allocations: 4.531 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.5645, allocations: 135.9 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5645, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.5646, allocations: 12.17 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.5646, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.5646, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5646, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5646, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.5647, allocations: 166.4 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-06/0.5647, allocations: 3.953 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.5648, allocations: 5.172 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.5648, allocations: 6.609 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5648, allocations: 12.77 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.5648, allocations: 0 / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.5649, allocations: 80.75 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5649, allocations: 0 / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001566/0.565, allocations: 17.56 kB / 0.8225 GB, free: 13.45 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.0004408/0.5655, allocations: 0.7133 MB / 0.8232 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.5656, allocations: 41.42 kB / 0.8232 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5656, allocations: 0 / 0.8232 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.5657, allocations: 19.67 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5659, allocations: 5.828 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.5662, allocations: 143 kB / 0.8234 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.5663, allocations: 65.3 kB / 0.8235 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.5663, allocations: 5.375 kB / 0.8235 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.5663, allocations: 13.69 kB / 0.8235 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5663, allocations: 0 / 0.8235 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.5828, allocations: 2.136 MB / 0.8256 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/7.129, allocations: 1.562 kB / 0.8256 GB, free: 11.67 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.136529431212693] Failed to read output from testmodel.py, exit status != 0: 7.204859253950417 7.215254164 6.651905334 Calling exit ...