Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001323/0.001323, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001507/0.001507, allocations: 222.3 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002632/0.002632, allocations: 289.1 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.263/1.263, allocations: 180.6 MB / 0.5377 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004085/0.004085, allocations: 98.58 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2184, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.003144/0.2215, allocations: 1.464 MB / 0.8348 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2218, allocations: 84.67 kB / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2219, allocations: 3.938 kB / 0.8349 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.2219, allocations: 0 / 0.8349 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.222, allocations: 7.922 kB / 0.8349 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.2222, allocations: 27.97 kB / 0.8349 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.2223, allocations: 31.86 kB / 0.835 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.2224, allocations: 0 / 0.835 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.2224, allocations: 8 kB / 0.835 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.2225, allocations: 11.92 kB / 0.835 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2225, allocations: 0 / 0.835 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2226, allocations: 27.97 kB / 0.835 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.2226, allocations: 4 kB / 0.835 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2227, allocations: 7.938 kB / 0.835 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2228, allocations: 47.97 kB / 0.8351 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2228, allocations: 4 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2228, allocations: 4 kB / 0.8351 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2228, allocations: 0 / 0.8351 GB, free: 6.559 MB / 0.5762 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.0005323/0.2234, allocations: 270.2 kB / 0.8353 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2234, allocations: 9.344 kB / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.625e-05/0.2234, allocations: 192 / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.2235, allocations: 38.73 kB / 0.8354 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2235, allocations: 4.938 kB / 0.8354 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2236, allocations: 114.5 kB / 0.8355 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.2236, allocations: 384 / 0.8355 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2237, allocations: 384 / 0.8355 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2239, allocations: 57.98 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2239, allocations: 7.938 kB / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2239, allocations: 0 / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2239, allocations: 0 / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.224, allocations: 35.95 kB / 0.8356 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.2244, allocations: 220 kB / 0.8358 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2246, allocations: 38.56 kB / 0.8359 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.2246, allocations: 32.89 kB / 0.8359 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.2247, allocations: 3.984 kB / 0.8359 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2247, allocations: 38.5 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2247, allocations: 0 / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003787/0.2251, allocations: 85.64 kB / 0.836 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.2251, allocations: 51.41 kB / 0.8361 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2253, allocations: 113.9 kB / 0.8362 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2253, allocations: 25.7 kB / 0.8362 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.2253, allocations: 84.14 kB / 0.8363 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2253, allocations: 11.89 kB / 0.8363 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.2254, allocations: 9.719 kB / 0.8363 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2256, allocations: 322.8 kB / 0.8366 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.2256, allocations: 11.98 kB / 0.8366 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.2257, allocations: 23.92 kB / 0.8366 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2259, allocations: 52.81 kB / 0.8367 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2259, allocations: 0 / 0.8367 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.2261, allocations: 73.61 kB / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.2261, allocations: 4 kB / 0.8368 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2261, allocations: 0 / 0.8368 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2261, allocations: 4 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.2262, allocations: 4 kB / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2262, allocations: 4.031 kB / 0.8368 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.2263, allocations: 7.984 kB / 0.8368 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2263, allocations: 3.938 kB / 0.8368 GB, free: 4.633 MB / 0.5762 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 9.883e-05/0.2264, allocations: 118.4 kB / 0.8369 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.2264, allocations: 0 / 0.8369 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.2267, allocations: 81.27 kB / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2267, allocations: 0 / 0.837 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2267, allocations: 4.031 kB / 0.837 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2267, allocations: 0 / 0.837 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2268, allocations: 132.9 kB / 0.8371 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2268, allocations: 0 / 0.8371 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.2269, allocations: 11.98 kB / 0.8371 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2269, allocations: 4 kB / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2269, allocations: 0 / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2269, allocations: 0 / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2269, allocations: 0 / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.2272, allocations: 175.4 kB / 0.8373 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.2272, allocations: 3.953 kB / 0.8373 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2272, allocations: 0 / 0.8373 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.2273, allocations: 7.984 kB / 0.8373 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.2273, allocations: 8 kB / 0.8373 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2273, allocations: 3.938 kB / 0.8373 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.2274, allocations: 83.27 kB / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2274, allocations: 0 / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000232/0.2276, allocations: 8 kB / 0.8374 GB, free: 3.926 MB / 0.5762 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.000643/0.2283, allocations: 0.7124 MB / 0.8381 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.2285, allocations: 39.95 kB / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2285, allocations: 0 / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.2286, allocations: 15.98 kB / 0.8381 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2289, allocations: 16.08 kB / 0.8382 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.2294, allocations: 148.9 kB / 0.8383 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.2295, allocations: 63.28 kB / 0.8384 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.2295, allocations: 4 kB / 0.8384 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2295, allocations: 11.44 kB / 0.8384 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.2295, allocations: 0 / 0.8384 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.254, allocations: 1.632 MB / 0.84 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.24, allocations: 15.7 kB / 0.84 GB, free: 1.352 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.608693204936571] Failed to read output from testmodel.py, exit status != 0: 11.40324719902128 11.421820929 11.195677222 Calling exit ...