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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.7 MB / 302.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 183.6 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008321, allocations: 87.44 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.822e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6906/0.9128, allocations: 138.3 MB / 1.115 GB, free: 45.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.9131, allocations: 69.12 kB / 1.115 GB, free: 45.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003804/0.9169, allocations: 1.344 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.744e-06/0.917, allocations: 0 / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.917, allocations: 6.219 kB / 1.116 GB, free: 44.26 MB / 0.7448 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.0002262/0.9172, allocations: 336.6 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9173, allocations: 8.031 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.9173, allocations: 45.03 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.9173, allocations: 4.438 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.9174, allocations: 172.5 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.9174, allocations: 3.266 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.9175, allocations: 3.422 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.9176, allocations: 37.27 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.9176, allocations: 0 / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.9176, allocations: 0 / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9176, allocations: 0 / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.9176, allocations: 17.83 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.9178, allocations: 161.2 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.9178, allocations: 33.36 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.9179, allocations: 8.922 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.9179, allocations: 7.562 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.9179, allocations: 34.56 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.9179, allocations: 0.6562 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004972/0.9184, allocations: 290.3 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.9185, allocations: 58.84 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.9186, allocations: 100.2 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.9186, allocations: 25.7 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.9186, allocations: 87.69 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.9186, allocations: 18.94 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.9186, allocations: 0 / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.9187, allocations: 313.7 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.9187, allocations: 15.42 kB / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.9188, allocations: 26.3 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.9188, allocations: 26.36 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.9188, allocations: 7.469 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.024e-05/0.9189, allocations: 64.33 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.9189, allocations: 4 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9189, allocations: 0 / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.919, allocations: 0.875 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.919, allocations: 16.11 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.919, allocations: 0 / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.9191, allocations: 4 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9191, allocations: 3.984 kB / 1.118 GB, free: 42.24 MB / 0.7448 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 () * 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 4.521e-05/0.9191, allocations: 114.6 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.9192, allocations: 3.906 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.9193, allocations: 84.33 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.9193, allocations: 0 / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9193, allocations: 0.5625 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9193, allocations: 0 / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.9194, allocations: 156.2 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.9194, allocations: 9.016 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.9195, allocations: 7.938 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9195, allocations: 4 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.9195, allocations: 0.6562 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9195, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9195, allocations: 5.484 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.9197, allocations: 107.8 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.9197, allocations: 86.47 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.9197, allocations: 0.8125 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.9198, allocations: 4.031 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.9198, allocations: 8.547 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.9198, allocations: 7.516 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.9199, allocations: 86.7 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9199, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002108/0.9201, allocations: 22.56 kB / 1.119 GB, free: 41.52 MB / 0.7448 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 () * 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.0003645/0.9205, allocations: 0.6689 MB / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.9205, allocations: 35 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9206, allocations: 0.75 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.9206, allocations: 15.38 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.9207, allocations: 7.438 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.921, allocations: 128.6 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.9212, allocations: 0.6848 MB / 1.12 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.9212, allocations: 8.984 kB / 1.12 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.9212, allocations: 11.56 kB / 1.12 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9212, allocations: 0 / 1.12 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.9361, allocations: 1.642 MB / 1.122 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.9364, allocations: 181.9 kB / 1.122 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.489, allocations: 0 / 1.122 GB, free: 38.84 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)