Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 189.3 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.5 kB / 0.9329 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 49.64 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3114, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002186/0.3136, allocations: 0.5889 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.3142, allocations: 199.4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.3143, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.3143, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.3144, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.3148, allocations: 43.88 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.3149, allocations: 15.98 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.3149, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.315, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.315, allocations: 15.92 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.315, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3153, allocations: 123.7 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.3153, allocations: 4 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.3154, allocations: 15.91 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.3155, allocations: 59.86 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3155, allocations: 7.984 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3155, allocations: 0 / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3156, allocations: 0 / 1.219 GB, free: 116.1 MB / 0.823 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.0003325/0.3159, allocations: 341.6 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3159, allocations: 11.98 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.316, allocations: 4.844 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.3161, allocations: 168.4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.3161, allocations: 384 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3161, allocations: 384 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3162, allocations: 46.19 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3163, allocations: 4.172 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3163, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3163, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.3163, allocations: 12 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.3165, allocations: 165.7 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.099e-05/0.3165, allocations: 22.58 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.3166, allocations: 12.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.3166, allocations: 7.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3166, allocations: 30.56 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.3166, allocations: 7.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.3172, allocations: 306.1 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3172, allocations: 51.41 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.3173, allocations: 113.8 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3173, allocations: 25.7 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.3173, allocations: 80.14 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3173, allocations: 12.03 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3174, allocations: 17.72 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.3174, allocations: 322.8 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.3175, allocations: 8 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.3175, allocations: 29.7 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.3175, allocations: 41.64 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3175, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.071e-05/0.3176, allocations: 61.69 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3177, allocations: 11.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3177, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3177, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.3177, allocations: 4 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3178, allocations: 11.92 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.3178, allocations: 3.938 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3178, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 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 5.46e-05/0.3179, allocations: 118.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3179, allocations: 11.84 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.318, allocations: 65.58 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.318, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.318, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.318, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.3181, allocations: 165.7 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3181, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.3182, allocations: 11.94 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3182, allocations: 7.938 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3182, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3182, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3182, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3193, allocations: 1.119 MB / 1.222 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3193, allocations: 84.95 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.3193, allocations: 3.984 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.3194, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.3194, allocations: 4.094 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3194, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.3194, allocations: 95.25 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3194, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002713/0.3197, allocations: 20 kB / 1.223 GB, free: 112 MB / 0.823 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.0001606/0.3199, allocations: 115.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.928e-05/0.32, allocations: 31.92 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.32, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.32, allocations: 24.11 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3202, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3205, allocations: 238.3 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3206, allocations: 0.6848 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.3207, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.3207, allocations: 15.38 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3207, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of Templates: time 0.002989/0.3237, allocations: 0.891 MB / 1.225 GB, free: 109.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)