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.001546/0.001546, allocations: 108 kB / 15.61 MB, free: 152 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.001928/0.001928, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.446/1.446, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001623/0.001623, allocations: 67.11 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002129/0.2421, allocations: 0.5145 MB / 0.7839 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005495/0.2426, allocations: 191.4 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.2427, allocations: 8 kB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.2427, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.2428, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.2432, allocations: 63.78 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.2433, allocations: 19.91 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2434, allocations: 4 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.2434, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.2434, allocations: 8 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2434, allocations: 0 / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.2437, allocations: 135.8 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.2437, allocations: 11.94 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.2438, allocations: 3.938 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2439, allocations: 63.89 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.244, allocations: 7.938 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.244, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.244, allocations: 0 / 0.7844 GB, free: 12.47 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.0003881/0.2444, allocations: 343.6 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2444, allocations: 8.031 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.2445, allocations: 4.844 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2446, allocations: 168.4 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2446, allocations: 4.375 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.2446, allocations: 384 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2447, allocations: 38.27 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2448, allocations: 4.125 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2448, allocations: 3.938 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2448, allocations: 7.984 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.2448, allocations: 11.98 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.245, allocations: 157.7 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.2451, allocations: 30.58 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.2451, allocations: 12.91 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2451, allocations: 8 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2452, allocations: 30.56 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/0.2452, allocations: 0 / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005754/0.2458, allocations: 318.3 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2458, allocations: 51.41 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.2459, allocations: 113.8 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2459, allocations: 25.7 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.246, allocations: 84.14 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.246, allocations: 11.83 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.246, allocations: 17.72 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2462, allocations: 314.8 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.2462, allocations: 15.98 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.2462, allocations: 25.72 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.2463, allocations: 41.64 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2463, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.566e-05/0.2464, allocations: 65.62 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2464, allocations: 11.94 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2465, allocations: 8.047 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2465, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.2465, allocations: 4 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2466, allocations: 7.938 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.2466, allocations: 0 / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2466, allocations: 0 / 0.7862 GB, free: 10.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.2467, allocations: 114.5 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.2467, allocations: 11.84 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2468, allocations: 69.58 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2469, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2469, allocations: 3.984 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2469, allocations: 3.938 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.247, allocations: 165.7 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.247, allocations: 0 / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.2471, allocations: 12 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2471, allocations: 7.875 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2471, allocations: 0 / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2471, allocations: 3.984 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2471, allocations: 0 / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2473, allocations: 105.1 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2473, allocations: 81.02 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2473, allocations: 3.938 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.2474, allocations: 4.031 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.2474, allocations: 4.219 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2474, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.2475, allocations: 87.28 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2475, allocations: 4.062 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002133/0.2477, allocations: 19.98 kB / 0.7869 GB, free: 9.484 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 (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.0001856/0.2479, allocations: 111.2 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.248, allocations: 43.91 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.248, allocations: 0 / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.2481, allocations: 12 kB / 0.787 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2482, allocations: 15.92 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.2485, allocations: 129.5 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2488, allocations: 0.6846 MB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.2488, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.2489, allocations: 7.438 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2489, allocations: 0 / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of Templates: time 0.003427/0.2523, allocations: 0.8943 MB / 0.7887 GB, free: 7.527 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)