Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.0007674/0.0007674, 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.0008691/0.0008691, 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.9641/0.9641, allocations: 230.6 MB / 256 MB, free: 9.824 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.7991/0.7991, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",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.001463/0.001463, allocations: 77.53 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5145, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001255/0.5158, allocations: 0.6074 MB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002374/0.516, allocations: 90.03 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.516, allocations: 0 / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.5161, allocations: 3.938 kB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.5161, allocations: 0 / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.5163, allocations: 13.83 kB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.5164, allocations: 8.859 kB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.5164, allocations: 7.422 kB / 0.8186 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.5164, allocations: 2.469 kB / 0.8186 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.5165, allocations: 10.44 kB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.5165, allocations: 0 / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.5166, allocations: 18.39 kB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.5166, allocations: 4.641 kB / 0.8186 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.5166, allocations: 4 kB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.5167, allocations: 25.14 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5167, allocations: 0.5625 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5167, allocations: 0 / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5167, allocations: 0 / 0.8187 GB, free: 0.7734 MB / 0.6042 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.0002378/0.5169, allocations: 245.4 kB / 0.8189 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.517, allocations: 9.062 kB / 0.8189 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.013e-05/0.517, allocations: 35.41 kB / 0.819 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.5171, allocations: 13.16 kB / 0.819 GB, free: 480 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.149e-05/0.5172, allocations: 106.1 kB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5172, allocations: 384 / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.5172, allocations: 384 / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.5173, allocations: 40.41 kB / 0.8191 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5173, allocations: 4.547 kB / 0.8191 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.5173, allocations: 4 kB / 0.8191 GB, free: 308 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5173, allocations: 1.812 kB / 0.8191 GB, free: 308 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.5173, allocations: 14.55 kB / 0.8191 GB, free: 304 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.247e-05/0.5174, allocations: 122.3 kB / 0.8192 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.5175, allocations: 39.5 kB / 0.8193 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.5176, allocations: 19.11 kB / 0.8193 GB, free: 100 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.5176, allocations: 0 / 0.8193 GB, free: 100 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.5176, allocations: 37.48 kB / 0.8193 GB, free: 56 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.5176, allocations: 3.938 kB / 0.8193 GB, free: 52 kB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001386/0.5177, allocations: 62.42 kB / 0.8194 GB, free: 4 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.5178, allocations: 54.34 kB / 0.8195 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.362e-05/0.5178, allocations: 89.86 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5178, allocations: 29.7 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.5178, allocations: 84.14 kB / 0.8196 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.5179, allocations: 11.06 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.5179, allocations: 12.52 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.5179, allocations: 318.6 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.518, allocations: 4.922 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.518, allocations: 6.344 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.5181, allocations: 25.8 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5181, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.968e-05/0.5181, allocations: 55.73 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5181, allocations: 3.219 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5181, allocations: 9.812 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5182, allocations: 0.75 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.5184, allocations: 44.81 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/0.5192, allocations: 1.305 MB / 0.8214 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.5192, allocations: 0.9844 kB / 0.8214 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5192, allocations: 0 / 0.8214 GB, free: 14 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.5193, allocations: 120 kB / 0.8215 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-06/0.5193, allocations: 5.891 kB / 0.8215 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.5193, allocations: 8.281 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.5193, allocations: 0 / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-07/0.5193, allocations: 0.5312 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5193, allocations: 4.734 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.938e-05/0.5194, allocations: 119.2 kB / 0.8216 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5194, allocations: 3.562 kB / 0.8216 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5195, allocations: 47.77 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.5195, allocations: 0 / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.5195, allocations: 4.438 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007327/0.5203, allocations: 1.309 MB / 0.823 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5203, allocations: 4.75 kB / 0.823 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.94e-05/0.5204, allocations: 72.36 kB / 0.823 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.5204, allocations: 2.938 kB / 0.823 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-06/0.5204, allocations: 3.938 kB / 0.823 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.5204, allocations: 6.062 kB / 0.8231 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.5204, allocations: 9.109 kB / 0.8231 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.5204, allocations: 0 / 0.8231 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.5204, allocations: 77.58 kB / 0.8231 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5204, allocations: 0 / 0.8231 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001345/0.5206, allocations: 8.844 kB / 0.8231 GB, free: 12.21 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.5208, allocations: 0.6054 MB / 0.8237 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.5211, allocations: 65.05 kB / 0.8238 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5211, allocations: 4 kB / 0.8238 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.5212, allocations: 32.67 kB / 0.8238 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.5213, allocations: 5.094 kB / 0.8238 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.5216, allocations: 120 kB / 0.824 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.5218, allocations: 0.6757 MB / 0.8246 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.5218, allocations: 4.516 kB / 0.8246 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.5219, allocations: 10.66 kB / 0.8246 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5219, allocations: 0 / 0.8246 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.5394, allocations: 1.331 MB / 0.8259 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.239, allocations: 10.52 kB / 0.8259 GB, free: 10.32 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_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_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.21637965994887] Failed to read output from testmodel.py, exit status != 0: 8.322552172001451 8.33734333 7.818262002 Calling exit ...