Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001411/0.001411, allocations: 197.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 65.5 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4003, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001806/0.4021, allocations: 0.5839 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.4026, allocations: 201.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.4027, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.4027, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.4028, allocations: 7.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.4031, allocations: 47.92 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.949e-05/0.4031, allocations: 7.938 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.4032, allocations: 8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.4032, allocations: 7.969 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.4033, allocations: 11.94 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4033, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.4035, allocations: 115.9 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.4035, allocations: 15.91 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.4036, allocations: 7.938 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.4037, allocations: 63.83 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 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.0003522/0.4041, allocations: 339.7 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4041, allocations: 12.03 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.4042, allocations: 12.88 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4043, allocations: 164.3 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4043, allocations: 4.375 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.4043, allocations: 384 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.4044, allocations: 42.19 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.4044, allocations: 192 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4045, allocations: 3.938 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4045, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.4045, allocations: 15.98 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.4047, allocations: 165.7 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.4047, allocations: 26.55 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.4048, allocations: 12.91 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.4048, allocations: 4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4048, allocations: 34.56 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4048, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005448/0.4054, allocations: 302.2 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.4054, allocations: 51.41 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.4055, allocations: 109.8 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.4055, allocations: 25.7 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4056, allocations: 88.14 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.4056, allocations: 7.812 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.4056, allocations: 25.92 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.4057, allocations: 310.8 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.4058, allocations: 19.98 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.4058, allocations: 21.66 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.4059, allocations: 45.64 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4059, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.168e-05/0.406, allocations: 73.77 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.406, allocations: 7.938 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.406, allocations: 0 / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.406, allocations: 3.984 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.4061, allocations: 11.98 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4061, allocations: 0 / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.4061, allocations: 0 / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4061, allocations: 4 kB / 1.07 GB, free: 7.637 MB / 0.8262 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 7.922e-05/0.4062, allocations: 117.8 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4062, allocations: 7.844 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.4064, allocations: 73.83 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4064, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4064, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4064, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.4065, allocations: 169.6 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4065, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.4066, allocations: 4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4066, allocations: 3.938 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.4066, allocations: 4 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4066, allocations: 7.938 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4066, allocations: 3.984 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.4067, allocations: 105 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.4068, allocations: 85.05 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4068, allocations: 7.938 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.4069, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.4069, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.4069, allocations: 12.05 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.4069, allocations: 87.28 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4069, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002036/0.4071, allocations: 20 kB / 1.071 GB, free: 6.828 MB / 0.8262 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.0001701/0.4073, allocations: 119.2 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.4074, allocations: 23.98 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4074, allocations: 7.938 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.4075, allocations: 20.06 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.4076, allocations: 7 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.4079, allocations: 131.3 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4082, allocations: 0.6809 MB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.4082, allocations: 7.984 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.4082, allocations: 7.438 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4082, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.003177/0.4114, allocations: 0.8809 MB / 1.073 GB, free: 4.891 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)