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.001538/0.001538, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001651/0.001651, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9274/0.9274, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7499/0.7499, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.147e-05, allocations: 7.234 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001221/0.001243, allocations: 0.6151 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.001501, allocations: 83.75 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.001516, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.001529, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.00157, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.001762, allocations: 19.92 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.001809, allocations: 19.84 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.001848, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.001878, allocations: 8 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.001942, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.001956, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.002007, allocations: 11.98 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.00202, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.002033, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.002116, allocations: 19.95 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002118, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002118, allocations: 4 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002122, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 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.0002807/0.002402, allocations: 246.3 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.002442, allocations: 13.47 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.002472, allocations: 30.75 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.002586, allocations: 12.92 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.302e-05/0.002639, allocations: 101.8 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.002657, allocations: 4.375 kB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.002666, allocations: 4.375 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.002751, allocations: 34.25 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.002757, allocations: 192 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.002766, allocations: 4.375 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.002771, allocations: 8.062 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.00282, allocations: 11.98 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.002929, allocations: 128.8 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.003096, allocations: 38.61 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.003127, allocations: 12.91 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.003143, allocations: 0 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.003163, allocations: 30.56 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.003164, allocations: 0 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001635/0.003327, allocations: 69.53 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.003356, allocations: 63.34 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.294e-05/0.003379, allocations: 89.86 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.003388, allocations: 25.7 kB / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.003406, allocations: 80.14 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.003473, allocations: 11.84 kB / 0.6198 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.0035, allocations: 21.7 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.003572, allocations: 310.8 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.003593, allocations: 4 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.003611, allocations: 11.98 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.003659, allocations: 28.78 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00366, allocations: 4 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.872e-05/0.003719, allocations: 45.69 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.003731, allocations: 4 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.003734, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.003745, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.003948, allocations: 47.92 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008697/0.004817, allocations: 1.297 MB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.004833, allocations: 7.938 kB / 0.6216 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.004839, allocations: 4.031 kB / 0.6216 GB, free: 9.801 MB / 0.5886 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 5.135e-05/0.00489, allocations: 110.8 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-06/0.004895, allocations: 3.984 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-06/0.004902, allocations: 3.531 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004904, allocations: 4 kB / 0.6217 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.004906, allocations: 4 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004908, allocations: 0 / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.856e-05/0.004966, allocations: 124.7 kB / 0.6218 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004968, allocations: 4.062 kB / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.005125, allocations: 47.92 kB / 0.6219 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005127, allocations: 0 / 0.6219 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.005133, allocations: 0 / 0.6219 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006331/0.005766, allocations: 1.305 MB / 0.6231 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.005768, allocations: 3.938 kB / 0.6231 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.459e-05/0.005862, allocations: 73.22 kB / 0.6232 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-06/0.005867, allocations: 4 kB / 0.6232 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-06/0.005874, allocations: 3.984 kB / 0.6232 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.00589, allocations: 4 kB / 0.6232 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.005906, allocations: 3.938 kB / 0.6232 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.00591, allocations: 4 kB / 0.6232 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.838e-05/0.005928, allocations: 75.28 kB / 0.6233 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.005928, allocations: 0 / 0.6233 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001328/0.006061, allocations: 4 kB / 0.6233 GB, free: 7.84 MB / 0.5886 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.0002525/0.006313, allocations: 0.6163 MB / 0.6239 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.006553, allocations: 55.91 kB / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006555, allocations: 0 / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.00667, allocations: 43.95 kB / 0.624 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.946e-05/0.00677, allocations: 8.047 kB / 0.624 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.00709, allocations: 118.6 kB / 0.6241 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.007133, allocations: 59.34 kB / 0.6242 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.007158, allocations: 11.88 kB / 0.6242 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.00719, allocations: 12.5 kB / 0.6242 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.00719, allocations: 0 / 0.6242 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.02161, allocations: 1.897 MB / 0.6261 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/7.971, allocations: 8.422 kB / 0.6261 GB, free: 5.082 MB / 0.5886 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.734541957266629] Failed to read output from testmodel.py, exit status != 0: 8.058197217993438 8.066383974 8.062572138 Calling exit ...