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.0007915/0.0007915, 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.0008722/0.0008722, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9625/0.9625, allocations: 230.6 MB / 256 MB, free: 9.809 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.8291/0.8291, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0008611/0.0008611, allocations: 66.59 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5415, allocations: 102 MB / 0.8179 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001351/0.5428, allocations: 0.5896 MB / 0.8185 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.5433, allocations: 329.1 kB / 0.8188 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.5434, allocations: 4 kB / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.5434, allocations: 0 / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.5434, allocations: 0 / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.5438, allocations: 114 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.499e-05/0.5439, allocations: 0.6562 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.5439, allocations: 4.516 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.544, allocations: 0 / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.785e-05/0.544, allocations: 0.6094 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.544, allocations: 4 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.5443, allocations: 280 kB / 0.8192 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.5444, allocations: 0 / 0.8192 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.5444, allocations: 5.547 kB / 0.8192 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.5446, allocations: 85.7 kB / 0.8193 GB, free: 316 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5446, allocations: 0 / 0.8193 GB, free: 316 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5446, allocations: 0 / 0.8193 GB, free: 316 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.5446, allocations: 0 / 0.8193 GB, free: 316 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.0002513/0.5448, allocations: 259.3 kB / 0.8195 GB, free: 36 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5449, allocations: 10.3 kB / 0.8195 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.5449, allocations: 34.75 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.545, allocations: 2.875 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.262e-05/0.545, allocations: 109.1 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.545, allocations: 384 / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.545, allocations: 384 / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.5452, allocations: 30.83 kB / 0.8197 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5452, allocations: 7.875 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5452, allocations: 4 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5452, allocations: 0 / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.5452, allocations: 2.75 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.5453, allocations: 119 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.5454, allocations: 16.98 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.5454, allocations: 7.625 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.5457, allocations: 49.5 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5457, allocations: 33.09 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.5457, allocations: 0 / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.5459, allocations: 45.78 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5459, allocations: 51.41 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.149e-05/0.5459, allocations: 90.42 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5459, allocations: 25.7 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.546, allocations: 80.14 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.546, allocations: 4.875 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.546, allocations: 15.94 kB / 0.8202 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5461, allocations: 313.8 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-06/0.5461, allocations: 0 / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.5461, allocations: 2.359 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.5462, allocations: 11.08 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5462, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.903e-05/0.5462, allocations: 37.28 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5462, allocations: 5.281 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5462, allocations: 5.797 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5463, allocations: 0 / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.5463, allocations: 3.906 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5463, allocations: 3.938 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.5463, allocations: 0 / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5463, allocations: 4.547 kB / 0.8206 GB, free: 14.87 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 5.876e-05/0.5464, allocations: 116.2 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.5464, allocations: 4.031 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.109e-05/0.5465, allocations: 52.11 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5465, allocations: 1.25 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5465, allocations: 0 / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5465, allocations: 0.6094 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.5466, allocations: 122.9 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5466, allocations: 0 / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.5466, allocations: 0 / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5466, allocations: 0.6562 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.5466, allocations: 11.25 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5466, allocations: 3.938 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5466, allocations: 0.7031 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/0.5467, allocations: 57.84 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.5467, allocations: 6.344 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.5467, allocations: 7.828 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-06/0.5467, allocations: 0 / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.5467, allocations: 0.7031 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.5467, allocations: 4.031 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.5467, allocations: 75.28 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5467, allocations: 0 / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001409/0.5469, allocations: 14.06 kB / 0.8211 GB, free: 14.37 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.0003615/0.5472, allocations: 0.6071 MB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.5473, allocations: 5.922 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5473, allocations: 1.312 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/0.5473, allocations: 1.859 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.5474, allocations: 3.891 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.5477, allocations: 114.2 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.5479, allocations: 0.6712 MB / 0.8224 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.5479, allocations: 8.516 kB / 0.8224 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.548, allocations: 7.438 kB / 0.8224 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.548, allocations: 0 / 0.8224 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.5655, allocations: 1.28 MB / 0.8237 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.458/7.023, allocations: 4.906 kB / 0.8237 GB, free: 12.51 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.031200179830194] Failed to read output from testmodel.py, exit status != 0: 7.097780629992485 7.111868162 6.56447078 Calling exit ...