Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.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.000827/0.000827, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001019/0.001019, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8973/0.8973, allocations: 177.2 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6912/0.6912, allocations: 154.6 MB / 413.8 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.263e-05, allocations: 3.844 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001836/0.001859, allocations: 1.451 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.002102, allocations: 87.77 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.002129, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.002189, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.002233, allocations: 15.86 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.002479, allocations: 15.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.00254, allocations: 23.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.002623, allocations: 7.984 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.002658, allocations: 8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.002689, allocations: 15.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.002706, allocations: 3.984 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.002768, allocations: 15.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.002809, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002827, allocations: 7.984 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.002932, allocations: 39.89 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.002935, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002936, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.00294, allocations: 0 / 0.6198 GB, free: 11.96 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.0003234/0.003264, allocations: 266.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.003296, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.003324, allocations: 38.73 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.003342, allocations: 0.9375 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.913e-05/0.003411, allocations: 113.7 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.00342, allocations: 384 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.003426, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.00354, allocations: 50.23 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003546, allocations: 4.188 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003553, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003558, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.003641, allocations: 35.95 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.003889, allocations: 220 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.003966, allocations: 46.5 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.004011, allocations: 24.91 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.004038, allocations: 7.922 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.004056, allocations: 38.5 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004057, allocations: 0 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.004264, allocations: 89.58 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.004292, allocations: 59.53 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.004351, allocations: 105.8 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.00436, allocations: 25.7 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.004393, allocations: 84.14 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004407, allocations: 7.953 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.004429, allocations: 9.719 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.004502, allocations: 318.8 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.004542, allocations: 19.92 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.004576, allocations: 19.98 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.004648, allocations: 44.88 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.00465, allocations: 4 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.827e-05/0.004748, allocations: 77.48 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004759, allocations: 4 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004763, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004774, allocations: 4 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.004831, allocations: 8.031 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.004835, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.004856, allocations: 7.984 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004861, allocations: 3.984 kB / 0.6215 GB, free: 10.04 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 5.273e-05/0.004914, allocations: 114.8 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.004926, allocations: 4.188 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.005051, allocations: 89.22 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005053, allocations: 4.031 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005056, allocations: 0 / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005059, allocations: 0 / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.005162, allocations: 128.8 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005164, allocations: 3.938 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.005187, allocations: 7.984 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005189, allocations: 7.938 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.005195, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005196, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005196, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.005313, allocations: 167.5 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.005319, allocations: 7.938 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.005328, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.005362, allocations: 7.984 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.005392, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.005394, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.005423, allocations: 91.2 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005423, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001495/0.005573, allocations: 8 kB / 0.6221 GB, free: 9.332 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.0003139/0.005887, allocations: 0.7046 MB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.006004, allocations: 43.89 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006005, allocations: 0 / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.006049, allocations: 24.02 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.006251, allocations: 6.453 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.006546, allocations: 138.6 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.006589, allocations: 63.34 kB / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.006607, allocations: 0 / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.006633, allocations: 12.5 kB / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of SimCode: time 4.1e-07/0.006633, allocations: 0 / 0.623 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.02026, allocations: 2.074 MB / 0.6251 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/6.895, allocations: 4.484 kB / 0.6251 GB, free: 6.324 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.522309860214591] Failed to read output from testmodel.py, exit status != 0: 6.975575930438936 6.984384726 6.979479014 Calling exit ...