Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 278.8 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.5 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 111.5 kB / 0.6066 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2009, allocations: 89.13 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001957/0.2029, allocations: 0.5778 MB / 0.6942 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.2032, allocations: 35.88 kB / 0.6942 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.2032, allocations: 4.906 kB / 0.6942 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.2033, allocations: 3.938 kB / 0.6942 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-06/0.2033, allocations: 0 / 0.6942 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.2036, allocations: 9.094 kB / 0.6942 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.2037, allocations: 7.984 kB / 0.6942 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.2037, allocations: 14.95 kB / 0.6942 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.2037, allocations: 4 kB / 0.6942 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.2038, allocations: 0 / 0.6942 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.2038, allocations: 0 / 0.6942 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.2039, allocations: 15.98 kB / 0.6943 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.2039, allocations: 4 kB / 0.6943 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.2039, allocations: 0 / 0.6943 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.309e-05/0.204, allocations: 11.92 kB / 0.6943 GB, free: 3.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2041, allocations: 5.25 kB / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2041, allocations: 0 / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2041, allocations: 4 kB / 0.6943 GB, free: 3.52 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003758/0.2045, allocations: 312.2 kB / 0.6946 GB, free: 3.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2045, allocations: 12.03 kB / 0.6946 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.2045, allocations: 30.75 kB / 0.6946 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.2046, allocations: 0.9375 kB / 0.6946 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2047, allocations: 164.4 kB / 0.6948 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2047, allocations: 384 / 0.6948 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2047, allocations: 4.375 kB / 0.6948 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.59e-05/0.2048, allocations: 30.2 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2048, allocations: 3.938 kB / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2049, allocations: 0 / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2049, allocations: 0 / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.2049, allocations: 11.94 kB / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2051, allocations: 149.7 kB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.2051, allocations: 18.61 kB / 0.695 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.2051, allocations: 4.859 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2052, allocations: 0 / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.2052, allocations: 38.62 kB / 0.695 GB, free: 2.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.2052, allocations: 7.938 kB / 0.695 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.2054, allocations: 37.58 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.2054, allocations: 51.41 kB / 0.6951 GB, free: 2.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.2055, allocations: 93.84 kB / 0.6952 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2055, allocations: 25.7 kB / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2056, allocations: 84.12 kB / 0.6953 GB, free: 2.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2056, allocations: 7.906 kB / 0.6953 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.2056, allocations: 9.719 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2058, allocations: 319 kB / 0.6956 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.2058, allocations: 4 kB / 0.6956 GB, free: 1.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.2058, allocations: 0 / 0.6956 GB, free: 1.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.2058, allocations: 8.859 kB / 0.6957 GB, free: 1.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2058, allocations: 0 / 0.6957 GB, free: 1.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.196e-05/0.2059, allocations: 41.62 kB / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2059, allocations: 4 kB / 0.6957 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2059, allocations: 7.922 kB / 0.6957 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.206, allocations: 8.094 kB / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.206, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.206, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.206, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.206, allocations: 4 kB / 0.6957 GB, free: 1.82 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 7.025e-05/0.2061, allocations: 110.1 kB / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.2061, allocations: 0 / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2062, allocations: 52.69 kB / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2062, allocations: 0 / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2063, allocations: 0 / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2063, allocations: 3.938 kB / 0.6959 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2064, allocations: 153.6 kB / 0.696 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2064, allocations: 0 / 0.696 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.2064, allocations: 4 kB / 0.696 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2064, allocations: 0 / 0.696 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2064, allocations: 3.938 kB / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2064, allocations: 0 / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2064, allocations: 4.031 kB / 0.696 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/0.2065, allocations: 57.12 kB / 0.6961 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2066, allocations: 77.11 kB / 0.6962 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2066, allocations: 3.938 kB / 0.6962 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.2066, allocations: 0 / 0.6962 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.2066, allocations: 11.94 kB / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2066, allocations: 0 / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.2067, allocations: 79.31 kB / 0.6963 GB, free: 1.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2067, allocations: 0 / 0.6963 GB, free: 1.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.2069, allocations: 11.94 kB / 0.6963 GB, free: 1.16 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0004029/0.2073, allocations: 0.5968 MB / 0.6968 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.2074, allocations: 12.02 kB / 0.6969 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2074, allocations: 0 / 0.6969 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.2074, allocations: 7.938 kB / 0.6969 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.2075, allocations: 0 / 0.6969 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2078, allocations: 108.8 kB / 0.697 GB, free: 376 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2081, allocations: 0.6767 MB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.2082, allocations: 8.125 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.2082, allocations: 7.438 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2082, allocations: 0 / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2295, allocations: 1.003 MB / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.045, allocations: 14.8 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)