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.0009623/0.0009623, 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.001086/0.001086, allocations: 210.3 kB / 22.26 MB, free: 3.852 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.9107/0.9107, allocations: 230.6 MB / 256 MB, free: 3.438 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.7785/0.7785, allocations: 203.8 MB / 0.5042 GB, free: 0.7422 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.00102/0.00102, allocations: 65.91 kB / 0.7183 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4843, allocations: 102 MB / 0.8179 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001459/0.4858, allocations: 0.5965 MB / 0.8185 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.4861, allocations: 92.95 kB / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.4861, allocations: 0.6875 kB / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.4861, allocations: 0 / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.4861, allocations: 1.531 kB / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.4864, allocations: 15.33 kB / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.4865, allocations: 8.266 kB / 0.8186 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.4865, allocations: 7.219 kB / 0.8186 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.4865, allocations: 7.016 kB / 0.8186 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.4866, allocations: 5.266 kB / 0.8186 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.4866, allocations: 0 / 0.8186 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.4867, allocations: 15.5 kB / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.4867, allocations: 0 / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.4867, allocations: 6.062 kB / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.4868, allocations: 26.78 kB / 0.8187 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4868, allocations: 0.6562 kB / 0.8187 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4868, allocations: 0.5938 kB / 0.8187 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4869, allocations: 1.031 kB / 0.8187 GB, free: 24.51 MB / 0.6355 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.0003023/0.4872, allocations: 251.2 kB / 0.8189 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4872, allocations: 11.06 kB / 0.8189 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.4872, allocations: 37.33 kB / 0.8189 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.4874, allocations: 9.891 kB / 0.819 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.22e-05/0.4874, allocations: 104.9 kB / 0.8191 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4875, allocations: 1.531 kB / 0.8191 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4875, allocations: 1.719 kB / 0.8191 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4876, allocations: 41.69 kB / 0.8191 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4876, allocations: 3.938 kB / 0.8191 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4876, allocations: 2.125 kB / 0.8191 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4876, allocations: 0.625 kB / 0.8191 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.4877, allocations: 11.42 kB / 0.8191 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.4878, allocations: 123.7 kB / 0.8192 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4879, allocations: 46.73 kB / 0.8193 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.4879, allocations: 15.12 kB / 0.8193 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.488, allocations: 0.625 kB / 0.8193 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.488, allocations: 40.34 kB / 0.8193 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.488, allocations: 0 / 0.8193 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.4882, allocations: 60.55 kB / 0.8194 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.4882, allocations: 59.55 kB / 0.8194 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.268e-05/0.4882, allocations: 89.86 kB / 0.8195 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.4882, allocations: 26.92 kB / 0.8196 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-06/0.4882, allocations: 80.14 kB / 0.8196 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.4883, allocations: 9.578 kB / 0.8196 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.4883, allocations: 18.33 kB / 0.8197 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.4883, allocations: 316.4 kB / 0.82 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.4883, allocations: 9.531 kB / 0.82 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.4884, allocations: 5.906 kB / 0.82 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.4884, allocations: 21.12 kB / 0.82 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4884, allocations: 0.75 kB / 0.82 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.309e-05/0.4885, allocations: 59.48 kB / 0.8201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4885, allocations: 4.938 kB / 0.8201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4885, allocations: 6.969 kB / 0.8201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4885, allocations: 0 / 0.8201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4888, allocations: 44.55 kB / 0.8201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007047/0.4895, allocations: 1.3 MB / 0.8214 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.4895, allocations: 9.625 kB / 0.8214 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4895, allocations: 1.688 kB / 0.8214 GB, free: 21.74 MB / 0.6355 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 4.595e-05/0.4895, allocations: 112.4 kB / 0.8215 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.4896, allocations: 1.031 kB / 0.8215 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.4896, allocations: 8.281 kB / 0.8215 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4896, allocations: 1 kB / 0.8215 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4896, allocations: 4.594 kB / 0.8215 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4896, allocations: 0.9375 kB / 0.8215 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.294e-05/0.4896, allocations: 126.7 kB / 0.8216 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4896, allocations: 0.6562 kB / 0.8216 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.4898, allocations: 46 kB / 0.8217 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4898, allocations: 1.062 kB / 0.8217 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.4898, allocations: 1.469 kB / 0.8217 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004997/0.4903, allocations: 1.311 MB / 0.823 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4903, allocations: 0 / 0.823 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.4904, allocations: 77.27 kB / 0.823 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-06/0.4904, allocations: 2.031 kB / 0.823 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-06/0.4904, allocations: 5.578 kB / 0.823 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.4904, allocations: 1.297 kB / 0.823 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.4904, allocations: 11.19 kB / 0.8231 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4904, allocations: 1.547 kB / 0.8231 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.307e-06/0.4904, allocations: 75.28 kB / 0.8231 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4904, allocations: 0.5625 kB / 0.8231 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001409/0.4906, allocations: 3.031 kB / 0.8231 GB, free: 19.96 MB / 0.6355 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.0002149/0.4908, allocations: 0.6085 MB / 0.8237 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.4911, allocations: 71.06 kB / 0.8238 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4911, allocations: 0 / 0.8238 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4913, allocations: 34.48 kB / 0.8238 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.4914, allocations: 3.688 kB / 0.8238 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.4918, allocations: 120.4 kB / 0.8239 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.341e-05/0.4919, allocations: 0.6745 MB / 0.8246 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.4919, allocations: 2.375 kB / 0.8246 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.4919, allocations: 13.94 kB / 0.8246 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4919, allocations: 0.7812 kB / 0.8246 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.5083, allocations: 1.331 MB / 0.8259 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.082, allocations: 5.969 kB / 0.8259 GB, free: 18.11 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.878139464883134] Failed to read output from testmodel.py, exit status != 0: 8.16485318983905 8.17939442 7.689486628 Calling exit ...