Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001474, allocations: 107.6 kB / 16.36 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 194.4 kB / 17.3 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002071/0.2372, allocations: 0.5341 MB / 0.7853 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005258/0.2378, allocations: 183.4 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.2378, allocations: 0 / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.2378, allocations: 7.922 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.2379, allocations: 0 / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2383, allocations: 59.86 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.2384, allocations: 15.92 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.2385, allocations: 3.938 kB / 0.7856 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.2385, allocations: 11.98 kB / 0.7856 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.468e-05/0.2385, allocations: 3.984 kB / 0.7856 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2385, allocations: 4 kB / 0.7856 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.2388, allocations: 127.8 kB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.2388, allocations: 7.938 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.2389, allocations: 11.94 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2391, allocations: 67.83 kB / 0.7858 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2391, allocations: 4 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2391, allocations: 3.938 kB / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2391, allocations: 0 / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003932/0.2395, allocations: 339.4 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2395, allocations: 12.03 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.2396, allocations: 4.938 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2397, allocations: 168.3 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2397, allocations: 4.375 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2397, allocations: 384 / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2399, allocations: 34.27 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2399, allocations: 192 / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2399, allocations: 11.92 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2399, allocations: 0 / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.2399, allocations: 15.94 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2401, allocations: 161.7 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.2402, allocations: 26.59 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.2402, allocations: 8.922 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.2403, allocations: 11.92 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2403, allocations: 34.56 kB / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2403, allocations: 0 / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005747/0.2409, allocations: 302.2 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2409, allocations: 55.41 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.241, allocations: 105.8 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.241, allocations: 29.64 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.2411, allocations: 88.14 kB / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2411, allocations: 19.72 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.2412, allocations: 21.94 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2413, allocations: 314.8 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.2413, allocations: 15.98 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.2414, allocations: 21.7 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.2414, allocations: 37.72 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2414, allocations: 0 / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.3826/0.624, allocations: 73.39 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.6241, allocations: 12.61 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6241, allocations: 0.8125 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6241, allocations: 0.875 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.6242, allocations: 7.578 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6242, allocations: 2.062 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.6243, allocations: 0 / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.6243, allocations: 1.656 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.512e-05/0.6244, allocations: 114.2 kB / 0.7877 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.6244, allocations: 7.031 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.6245, allocations: 76.22 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6246, allocations: 0 / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6246, allocations: 0 / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6246, allocations: 0 / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.6247, allocations: 174.1 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6247, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.6247, allocations: 3 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6247, allocations: 4.438 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.6247, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.6247, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6247, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.6249, allocations: 110.8 kB / 0.7881 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.6249, allocations: 80.64 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.6249, allocations: 12.05 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.625, allocations: 0 / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.625, allocations: 0 / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.625, allocations: 6.438 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.625, allocations: 87.47 kB / 0.7883 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6251, allocations: 0 / 0.7883 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002893/0.6253, allocations: 20.56 kB / 0.7883 GB, free: 47.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * 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.0001518/0.6255, allocations: 117.8 kB / 0.7884 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.6256, allocations: 32.55 kB / 0.7884 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6256, allocations: 1.375 kB / 0.7884 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.6256, allocations: 14.28 kB / 0.7885 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6258, allocations: 9.453 kB / 0.7885 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.626, allocations: 126.6 kB / 0.7886 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.6261, allocations: 0.6866 MB / 0.7893 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.6262, allocations: 3.594 kB / 0.7893 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.6262, allocations: 8.75 kB / 0.7893 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.6262, allocations: 0 / 0.7893 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.002827/0.629, allocations: 0.8904 MB / 0.7901 GB, free: 46.92 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)