Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 177 kB / 326.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.5776 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 99.94 kB / 0.6823 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 8.875 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 106.3 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001004/0.2587, allocations: 257.4 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.2593, allocations: 184.9 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.2593, allocations: 0 / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.2594, allocations: 0 / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.2594, allocations: 3.938 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2599, allocations: 43.92 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.2599, allocations: 8 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.26, allocations: 11.92 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.26, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.2601, allocations: 8 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2601, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2603, allocations: 127.8 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2603, allocations: 3.984 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.2604, allocations: 29.7 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2605, allocations: 43.92 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.2605, allocations: 4 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2605, allocations: 0 / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2605, allocations: 0 / 0.901 GB, free: 63.04 MB / 0.6042 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.0003011/0.2608, allocations: 329.5 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2609, allocations: 8.031 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.2609, allocations: 42.44 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.261, allocations: 7.906 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2611, allocations: 167.2 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2611, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2611, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2612, allocations: 41.67 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2613, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2613, allocations: 3.938 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2613, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.2613, allocations: 11.98 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.2615, allocations: 165.7 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.2615, allocations: 30.52 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.2616, allocations: 12.91 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.2616, allocations: 4 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2616, allocations: 30.56 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2616, allocations: 4 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005093/0.2622, allocations: 298.3 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.2622, allocations: 51.41 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.2623, allocations: 109.8 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2623, allocations: 25.7 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.2623, allocations: 84.14 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2623, allocations: 11.81 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2624, allocations: 224 / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.2624, allocations: 326.8 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.2624, allocations: 11.94 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.2625, allocations: 25.7 kB / 0.9027 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.2625, allocations: 16 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.2625, allocations: 0 / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.69e-05/0.2626, allocations: 65.67 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2626, allocations: 14.97 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2626, allocations: 0 / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2627, allocations: 4 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.2627, allocations: 8 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2627, allocations: 0 / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.2628, allocations: 3.938 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.2628, allocations: 4 kB / 0.9028 GB, free: 60.88 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.541e-05/0.2628, allocations: 121.8 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.2629, allocations: 3.906 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.263, allocations: 73.52 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.263, allocations: 4 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.263, allocations: 0 / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.263, allocations: 0 / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.2631, allocations: 169.6 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2631, allocations: 0 / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.2632, allocations: 7.984 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2632, allocations: 0 / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.2632, allocations: 8 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2632, allocations: 0 / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2632, allocations: 4 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2633, allocations: 101.3 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.2634, allocations: 89 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2634, allocations: 3.984 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.2634, allocations: 3.984 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.2635, allocations: 0 / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2635, allocations: 7.938 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.2635, allocations: 91.33 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2635, allocations: 4 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002217/0.2637, allocations: 16 kB / 0.9035 GB, free: 60.07 MB / 0.6042 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 (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.0003384/0.2641, allocations: 0.6476 MB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.2642, allocations: 36.05 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2642, allocations: 4.062 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.2642, allocations: 15.98 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.2644, allocations: 7 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.2649, allocations: 471.5 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2651, allocations: 0.6848 MB / 0.9053 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.2651, allocations: 4.703 kB / 0.9053 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.2651, allocations: 11.44 kB / 0.9053 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2652, allocations: 0 / 0.9053 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.2781, allocations: 1.66 MB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.2784, allocations: 215.2 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.023, allocations: 0 / 0.9072 GB, free: 56.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)