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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 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.001806/0.001806, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.522/1.522, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 70 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4152, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002295/0.4175, allocations: 0.523 MB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005607/0.4181, allocations: 191.4 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.4181, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4182, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.4182, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.4187, allocations: 63.78 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.4187, allocations: 12 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.4188, allocations: 3.984 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.4188, allocations: 11.92 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.428e-05/0.4189, allocations: 4 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4189, allocations: 0 / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.4191, allocations: 135.8 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.4192, allocations: 7.984 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.4192, allocations: 7.938 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.4194, allocations: 67.83 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4194, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4194, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4194, allocations: 0 / 1.069 GB, free: 9.375 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.0003973/0.4198, allocations: 343.7 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4199, allocations: 16.03 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.4199, allocations: 0.9375 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.42, allocations: 168.3 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.4201, allocations: 4.312 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4201, allocations: 384 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4202, allocations: 46.19 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4202, allocations: 192 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4202, allocations: 3.938 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4202, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.4203, allocations: 11.98 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.4205, allocations: 161.7 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.4205, allocations: 22.61 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.4206, allocations: 16.92 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.4206, allocations: 11.92 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4207, allocations: 30.56 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.4207, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006034/0.4213, allocations: 304.3 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4213, allocations: 59.41 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.4214, allocations: 105.8 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4214, allocations: 25.7 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.4215, allocations: 84.14 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.4215, allocations: 11.81 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.4216, allocations: 21.92 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4217, allocations: 314.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.4217, allocations: 16 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.4218, allocations: 25.7 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.4218, allocations: 45.64 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4218, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.422, allocations: 65.69 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.422, allocations: 7.938 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.422, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.422, allocations: 7.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.4221, allocations: 7.984 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.4221, allocations: 4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.191 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 8.415e-05/0.4222, allocations: 122.4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4222, allocations: 11.78 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.4224, allocations: 69.58 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4224, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4224, allocations: 3.938 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4224, allocations: 192 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.4225, allocations: 169.6 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4225, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.4226, allocations: 4 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4226, allocations: 7.922 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4226, allocations: 8 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4226, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4226, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.4228, allocations: 101.1 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.4228, allocations: 85.05 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4229, allocations: 7.938 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.4229, allocations: 0 / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.4229, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4229, allocations: 4.062 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.423, allocations: 95.2 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.423, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002055/0.4232, allocations: 16 kB / 1.072 GB, free: 6.387 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.0001835/0.4234, allocations: 115.2 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4235, allocations: 39.97 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4235, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.4236, allocations: 16.06 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.4237, allocations: 8 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.424, allocations: 137 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4243, allocations: 0.6846 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.4244, allocations: 4.531 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.4244, allocations: 11.44 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4244, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.003429/0.4278, allocations: 0.892 MB / 1.074 GB, free: 4.43 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)