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.286/1.286, allocations: 251.5 MB / 266.7 MB, free: 11 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.0009262/0.0009262, allocations: 171.6 kB / 325.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205 MB / 0.576 GB, free: 21 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.0006605/0.0006605, allocations: 89.66 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003286, allocations: 10.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005201/0.1462, allocations: 274.2 kB / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.1466, allocations: 204.2 kB / 0.8966 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.1466, allocations: 0 / 0.8966 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.1466, allocations: 4 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.1467, allocations: 0 / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1469, allocations: 43.88 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.568e-05/0.147, allocations: 11.98 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.147, allocations: 8 kB / 0.8967 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.147, allocations: 3.984 kB / 0.8967 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.1471, allocations: 11.92 kB / 0.8967 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1471, allocations: 0 / 0.8967 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1472, allocations: 123.8 kB / 0.8968 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.1473, allocations: 3.984 kB / 0.8968 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1473, allocations: 11.92 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1474, allocations: 67.84 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1474, allocations: 0 / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1474, allocations: 0 / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.155e-06/0.1474, allocations: 0 / 0.8969 GB, free: 67.31 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.0001987/0.1476, allocations: 331.8 kB / 0.8972 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1477, allocations: 12.03 kB / 0.8973 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.1477, allocations: 42.73 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1477, allocations: 4.844 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.091e-05/0.1478, allocations: 168.4 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1478, allocations: 4.312 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1478, allocations: 384 / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.1479, allocations: 42.19 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.148, allocations: 7.938 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.148, allocations: 0 / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.148, allocations: 0 / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.148, allocations: 12 kB / 0.8975 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.957e-05/0.1481, allocations: 165.6 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.1481, allocations: 30.56 kB / 0.8977 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.1482, allocations: 12.86 kB / 0.8977 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1482, allocations: 4 kB / 0.8977 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.1482, allocations: 42.48 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.1482, allocations: 3.984 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003684/0.1486, allocations: 302.2 kB / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.1486, allocations: 51.41 kB / 0.8981 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.1487, allocations: 105.8 kB / 0.8982 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1487, allocations: 33.91 kB / 0.8982 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.712e-05/0.1487, allocations: 88.14 kB / 0.8983 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.1487, allocations: 3.906 kB / 0.8983 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.1488, allocations: 17.72 kB / 0.8983 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.115e-05/0.1488, allocations: 314.8 kB / 0.8986 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.1488, allocations: 8 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.1488, allocations: 29.7 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.1489, allocations: 41.66 kB / 0.8987 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1489, allocations: 0 / 0.8987 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.884e-05/0.149, allocations: 69.58 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.149, allocations: 11.94 kB / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.149, allocations: 0 / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.149, allocations: 0 / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.1491, allocations: 11.94 kB / 0.8988 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1491, allocations: 0 / 0.8988 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.1491, allocations: 0 / 0.8988 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1491, allocations: 12.06 kB / 0.8988 GB, free: 65.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.1491, allocations: 109.8 kB / 0.8989 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.1491, allocations: 7.938 kB / 0.8989 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.251e-05/0.1492, allocations: 65.58 kB / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1493, allocations: 0 / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1493, allocations: 0 / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1493, allocations: 4 kB / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.825e-05/0.1493, allocations: 169.7 kB / 0.8992 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1493, allocations: 7.938 kB / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1494, allocations: 7.984 kB / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1494, allocations: 7.875 kB / 0.8992 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1494, allocations: 3.938 kB / 0.8992 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1494, allocations: 0 / 0.8992 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1494, allocations: 0 / 0.8992 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.635e-05/0.1495, allocations: 105 kB / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.1495, allocations: 85.05 kB / 0.8994 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1495, allocations: 8.078 kB / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.1496, allocations: 4 kB / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1496, allocations: 0 / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1496, allocations: 4 kB / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.1496, allocations: 87.27 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1497, allocations: 0 / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001808/0.1498, allocations: 16 kB / 0.8995 GB, free: 64.29 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 (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.0002432/0.1501, allocations: 0.667 MB / 0.9001 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.1502, allocations: 36.19 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1502, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.549e-05/0.1502, allocations: 12 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.1503, allocations: 5.266 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.1509, allocations: 1.25 MB / 0.9014 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.522e-05/0.151, allocations: 0.6848 MB / 0.9021 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.151, allocations: 4 kB / 0.9021 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.151, allocations: 11.44 kB / 0.9021 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1511, allocations: 0 / 0.9021 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.1859, allocations: 1.677 MB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.186, allocations: 233.6 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.897, allocations: 6.125 kB / 0.904 GB, free: 59.71 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)