Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0009886/0.0009886, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001267/0.001267, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9205/0.9205, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.7104/0.7104, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.306e-05, allocations: 6.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00165/0.001663, allocations: 1.467 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.001885, allocations: 91.8 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.001913, allocations: 0 / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.001939, allocations: 3.938 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.001976, allocations: 7.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.002167, allocations: 15.92 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.002239, allocations: 23.92 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.002332, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.002386, allocations: 15.98 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.002419, allocations: 11.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.002437, allocations: 4 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.002485, allocations: 19.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.002499, allocations: 3.984 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.002516, allocations: 8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.002612, allocations: 35.83 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002614, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002615, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.002618, allocations: 0 / 0.6197 GB, free: 12.02 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.0003457/0.002964, allocations: 266.3 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.003, allocations: 9.469 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.003028, allocations: 46.73 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.003138, allocations: 8.922 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.003209, allocations: 109.8 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.003227, allocations: 384 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.003236, allocations: 8.312 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.003359, allocations: 62.22 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003365, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003372, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003378, allocations: 4.125 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.003488, allocations: 47.95 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.003778, allocations: 224 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.00388, allocations: 58.52 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.003935, allocations: 32.84 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.003948, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.003965, allocations: 38.5 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.003966, allocations: 0 / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.004207, allocations: 105.6 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.004234, allocations: 51.41 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.004289, allocations: 109.8 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.004298, allocations: 25.7 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.004332, allocations: 92.06 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.004347, allocations: 12.08 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.00437, allocations: 9.719 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.004437, allocations: 314.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.004488, allocations: 23.97 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.004534, allocations: 19.98 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.004637, allocations: 60.86 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004638, allocations: 3.938 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.00476, allocations: 85.55 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.004771, allocations: 4 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004775, allocations: 0 / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.004785, allocations: 0 / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.004849, allocations: 15.92 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.004853, allocations: 4.281 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.00488, allocations: 7.984 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.004887, allocations: 11.98 kB / 0.6215 GB, free: 9.988 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 (2): * Single equations (assignments): 2 * 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 4.622e-05/0.004934, allocations: 106.8 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.004947, allocations: 7.938 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.004972, allocations: 11.61 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.004973, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.004977, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.004979, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.555e-05/0.005075, allocations: 128.8 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.005075, allocations: 4 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.005104, allocations: 11.98 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005106, allocations: 3.938 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.005112, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.005113, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005113, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.005259, allocations: 179.4 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.005266, allocations: 11.97 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005276, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.005317, allocations: 7.984 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.005349, allocations: 8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.005351, allocations: 3.938 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.005378, allocations: 83.27 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005378, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001477/0.005526, allocations: 4 kB / 0.6221 GB, free: 9.355 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 (2): * Single equations (assignments): 2 * 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.0003073/0.005833, allocations: 0.7085 MB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.005975, allocations: 51.89 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005977, allocations: 0 / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.00603, allocations: 27.97 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.006213, allocations: 6.344 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.006541, allocations: 146.5 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.00658, allocations: 59.34 kB / 0.623 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.006604, allocations: 4 kB / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.006637, allocations: 12.5 kB / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.006638, allocations: 0 / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.02002, allocations: 2.189 MB / 0.6252 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.077, allocations: 6.938 kB / 0.6252 GB, free: 6.211 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.757103002630174] Failed to read output from testmodel.py, exit status != 0: 7.1608008947223425 7.174805572 7.1704398639999996 Calling exit ...