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.0007532/0.0007531, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0007828/0.000783, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.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.614/1.614, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005005/0.0005006, allocations: 14.62 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2538, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006222/0.2544, allocations: 254.1 kB / 0.7875 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.2549, allocations: 183.6 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.2549, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.2549, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.255, allocations: 7.938 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.2553, allocations: 39.94 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.2553, allocations: 15.92 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.2554, allocations: 4 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.2554, allocations: 4 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.2554, allocations: 7.969 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2554, allocations: 4 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.2556, allocations: 111.8 kB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.2557, allocations: 11.98 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.2557, allocations: 25.7 kB / 0.7879 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.56e-05/0.2558, allocations: 47.94 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2558, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2558, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2558, allocations: 3.938 kB / 0.788 GB, free: 11.21 MB / 0.6075 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.0002814/0.2561, allocations: 331.5 kB / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2562, allocations: 8.031 kB / 0.7883 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.2562, allocations: 15.94 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2563, allocations: 174.9 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2563, allocations: 4 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2564, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.2565, allocations: 41.69 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2565, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.2565, allocations: 3.938 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2565, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.2565, allocations: 8 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.2567, allocations: 169.6 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.2567, allocations: 30.53 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.2568, allocations: 12.92 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.2568, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2568, allocations: 34.56 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2568, allocations: 0 / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004952/0.2573, allocations: 294.3 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2574, allocations: 51.62 kB / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.2575, allocations: 113.8 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2575, allocations: 25.7 kB / 0.7892 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.2575, allocations: 84.14 kB / 0.7893 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.2575, allocations: 15.83 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.2576, allocations: 0 / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2577, allocations: 314.8 kB / 0.7896 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.2577, allocations: 19.92 kB / 0.7896 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.2577, allocations: 25.72 kB / 0.7897 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.2578, allocations: 15.98 kB / 0.7897 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2578, allocations: 3.953 kB / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.326e-05/0.2579, allocations: 65.59 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2579, allocations: 7.938 kB / 0.7898 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2579, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2579, allocations: 4 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.258, allocations: 8 kB / 0.7898 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.258, allocations: 64 / 0.7898 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.258, allocations: 8 kB / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.258, allocations: 7.922 kB / 0.7898 GB, free: 9.078 MB / 0.6075 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.788e-05/0.2581, allocations: 110.5 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.2581, allocations: 3.953 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2582, allocations: 77.52 kB / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2582, allocations: 0 / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2582, allocations: 0 / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2582, allocations: 0 / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2584, allocations: 169.7 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2584, allocations: 0 / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.2584, allocations: 7.953 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2584, allocations: 0 / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2584, allocations: 4 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2584, allocations: 0 / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2584, allocations: 0 / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.2586, allocations: 105 kB / 0.7902 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.2586, allocations: 89.19 kB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2587, allocations: 7.953 kB / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.2587, allocations: 0 / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.2587, allocations: 4 kB / 0.7903 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2587, allocations: 3.938 kB / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.2588, allocations: 91.58 kB / 0.7904 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2588, allocations: 0 / 0.7904 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002038/0.259, allocations: 20 kB / 0.7904 GB, free: 8.289 MB / 0.6075 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.0001662/0.2592, allocations: 123.2 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.2593, allocations: 28.22 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2593, allocations: 0 / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.2593, allocations: 23.92 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.2594, allocations: 0 / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.2597, allocations: 144.6 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2599, allocations: 0.6811 MB / 0.7914 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.26, allocations: 12.22 kB / 0.7914 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.26, allocations: 7.438 kB / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.26, allocations: 0 / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.002965/0.263, allocations: 0.8594 MB / 0.7923 GB, free: 6.355 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: