Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001176, allocations: 179.7 kB / 327.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007686, allocations: 97.55 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 10.66 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0009062/0.2417, allocations: 261.6 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.2423, allocations: 180.8 kB / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.2424, allocations: 0 / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.2425, allocations: 0 / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.2425, allocations: 4 kB / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.2431, allocations: 47.86 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.2432, allocations: 15.94 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.494e-05/0.2432, allocations: 0 / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.2433, allocations: 11.92 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.2433, allocations: 0 / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2433, allocations: 4 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.2436, allocations: 123.8 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.2436, allocations: 7.984 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.2437, allocations: 25.7 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2438, allocations: 43.92 kB / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2438, allocations: 0 / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2438, allocations: 0 / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2438, allocations: 4 kB / 0.9015 GB, free: 63.15 MB / 0.6042 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.000327/0.2442, allocations: 331.3 kB / 0.9018 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2442, allocations: 12.03 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.2442, allocations: 3.906 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2444, allocations: 175.2 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2444, allocations: 0 / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.2444, allocations: 0 / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2445, allocations: 45.62 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2445, allocations: 4 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2446, allocations: 0 / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2446, allocations: 0 / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.2446, allocations: 11.98 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2448, allocations: 161.6 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.2448, allocations: 22.61 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.2448, allocations: 8.922 kB / 0.9023 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.2449, allocations: 11.92 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.2449, allocations: 42.56 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2449, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005999/0.2455, allocations: 290.3 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2456, allocations: 51.41 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.2457, allocations: 109.8 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2457, allocations: 29.92 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.2457, allocations: 88.14 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2457, allocations: 15.8 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2458, allocations: 0 / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.2458, allocations: 318.8 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.2458, allocations: 12 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.2459, allocations: 25.7 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.2459, allocations: 20 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2459, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.128e-05/0.246, allocations: 65.62 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.246, allocations: 11.92 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2461, allocations: 4 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2461, allocations: 0 / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.2461, allocations: 8 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2462, allocations: 0 / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.2462, allocations: 4 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2462, allocations: 0 / 0.9033 GB, free: 61.04 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.2463, allocations: 125.7 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.2463, allocations: 3.906 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2464, allocations: 73.58 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2464, allocations: 192 / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2465, allocations: 3.984 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2465, allocations: 3.984 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2466, allocations: 165.6 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2466, allocations: 0 / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.2467, allocations: 8 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2467, allocations: 4 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2467, allocations: 3.984 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2467, allocations: 0 / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2467, allocations: 3.938 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2469, allocations: 101.1 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.2469, allocations: 84.97 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2469, allocations: 0 / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.247, allocations: 4.062 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.247, allocations: 7.984 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.247, allocations: 4 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.2471, allocations: 83.28 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2471, allocations: 0 / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002309/0.2473, allocations: 27.98 kB / 0.904 GB, free: 60.23 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.2475, allocations: 111.2 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.111e-05/0.2476, allocations: 31.92 kB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2476, allocations: 4.125 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.2476, allocations: 16 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.2478, allocations: 0 / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.2481, allocations: 170.5 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2483, allocations: 0.6809 MB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.2483, allocations: 15.42 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/0.2483, allocations: 0 / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.002442/0.2507, allocations: 0.8454 MB / 0.9058 GB, free: 58.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)