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.000904/0.000904, 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.001799/0.001799, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9859/0.9859, allocations: 230.6 MB / 256 MB, free: 9.617 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.808/0.808, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001189/0.001189, allocations: 70.83 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5741, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001279/0.5754, allocations: 0.5898 MB / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.5759, allocations: 292.4 kB / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.5759, allocations: 4 kB / 0.8187 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.5759, allocations: 0 / 0.8187 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.5759, allocations: 0 / 0.8187 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.5763, allocations: 112.4 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.5764, allocations: 1.766 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.5764, allocations: 6.875 kB / 0.8188 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.5764, allocations: 0 / 0.8188 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.903e-05/0.5765, allocations: 6.031 kB / 0.8188 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.5765, allocations: 4 kB / 0.8188 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.5768, allocations: 253.7 kB / 0.8191 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.5768, allocations: 0 / 0.8191 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.5768, allocations: 3.984 kB / 0.8191 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.577, allocations: 90.75 kB / 0.8192 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.577, allocations: 0 / 0.8192 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.577, allocations: 0 / 0.8192 GB, free: 396 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.577, allocations: 0 / 0.8192 GB, free: 396 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.0002071/0.5772, allocations: 259.4 kB / 0.8194 GB, free: 116 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5773, allocations: 9.719 kB / 0.8194 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.282e-05/0.5773, allocations: 31.36 kB / 0.8194 GB, free: 76 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.5773, allocations: 4.938 kB / 0.8194 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.808e-05/0.5774, allocations: 111.1 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5774, allocations: 1.078 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.5774, allocations: 384 / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.5775, allocations: 28.8 kB / 0.8196 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5775, allocations: 3.938 kB / 0.8196 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.5775, allocations: 0.5625 kB / 0.8196 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5775, allocations: 3.984 kB / 0.8196 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.5775, allocations: 6.688 kB / 0.8196 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.5776, allocations: 119.8 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.5777, allocations: 22.73 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.5777, allocations: 8.797 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.578, allocations: 40.22 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.578, allocations: 36.34 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.578, allocations: 0 / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.5781, allocations: 43.97 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.5782, allocations: 57.25 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.136e-05/0.5782, allocations: 89.86 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.5782, allocations: 31.33 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.5782, allocations: 80.75 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.5783, allocations: 0 / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.5783, allocations: 12.31 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.5784, allocations: 316.9 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.5784, allocations: 2.453 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.5784, allocations: 0 / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.5784, allocations: 8.859 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5784, allocations: 8 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.179e-05/0.5784, allocations: 36.16 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5785, allocations: 5.062 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5785, allocations: 4.547 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5785, allocations: 4 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.5785, allocations: 0.7031 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5785, allocations: 0 / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-06/0.5785, allocations: 0.5 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.5785, allocations: 3.391 kB / 0.8205 GB, free: 14.95 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.725e-05/0.5786, allocations: 118.5 kB / 0.8206 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.5786, allocations: 0 / 0.8206 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.5787, allocations: 49.83 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5787, allocations: 0.6562 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5787, allocations: 0 / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5787, allocations: 0 / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.082e-05/0.5788, allocations: 119.8 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5788, allocations: 0.6094 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.5788, allocations: 2.938 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.5788, allocations: 0 / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.5788, allocations: 8.812 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.5788, allocations: 0.6094 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5788, allocations: 1.125 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.201e-05/0.5788, allocations: 57.56 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.5788, allocations: 0.5625 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5788, allocations: 7.469 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-06/0.5789, allocations: 7.938 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.5789, allocations: 0.8906 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-07/0.5789, allocations: 3.938 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.5789, allocations: 79.22 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5789, allocations: 5.844 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001294/0.579, allocations: 12.69 kB / 0.8209 GB, free: 14.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 (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.0003225/0.5793, allocations: 0.6037 MB / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.5794, allocations: 8.219 kB / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5794, allocations: 0 / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.5794, allocations: 4.5 kB / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.925e-05/0.5795, allocations: 0 / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.5798, allocations: 119.4 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.5798, allocations: 54.94 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.5798, allocations: 0.5625 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.5799, allocations: 7.438 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.5799, allocations: 0 / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.5976, allocations: 1.679 MB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.46/7.058, allocations: 2.031 kB / 0.8234 GB, free: 12.8 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.108458837028593] Failed to read output from testmodel.py, exit status != 0: 7.135417542885989 7.149883189 6.5706995599999996 Calling exit ...