Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004942/0.004942, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001072/0.001072, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 297.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8823/0.8823, allocations: 169.2 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 96.19 kB / 0.681 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4242, allocations: 86.98 MB / 0.7659 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001766/0.426, allocations: 0.5744 MB / 0.7665 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.4263, allocations: 35.88 kB / 0.7665 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.4263, allocations: 0 / 0.7665 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.4263, allocations: 0 / 0.7665 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.4263, allocations: 0 / 0.7665 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.4266, allocations: 15.98 kB / 0.7666 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.4267, allocations: 7.938 kB / 0.7666 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.4267, allocations: 0 / 0.7666 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.4267, allocations: 4 kB / 0.7666 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.4268, allocations: 3.984 kB / 0.7666 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.4268, allocations: 0 / 0.7666 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.4269, allocations: 19.98 kB / 0.7666 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.4269, allocations: 3.984 kB / 0.7666 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.4269, allocations: 3.938 kB / 0.7666 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.811e-05/0.427, allocations: 11.98 kB / 0.7666 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.427, allocations: 3.938 kB / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.427, allocations: 0 / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4271, allocations: 4 kB / 0.7666 GB, free: 3.125 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002848/0.4273, allocations: 319.6 kB / 0.7669 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4274, allocations: 12.03 kB / 0.7669 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.4274, allocations: 30.75 kB / 0.767 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.4275, allocations: 0.9375 kB / 0.767 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.733e-05/0.4276, allocations: 160.4 kB / 0.7671 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4276, allocations: 8.312 kB / 0.7671 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.4276, allocations: 384 / 0.7671 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.4277, allocations: 34.27 kB / 0.7672 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4277, allocations: 3.938 kB / 0.7672 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.4277, allocations: 0 / 0.7672 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4277, allocations: 0 / 0.7672 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.4278, allocations: 3.984 kB / 0.7672 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.4279, allocations: 149.7 kB / 0.7673 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.4279, allocations: 18.52 kB / 0.7673 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.428, allocations: 4.953 kB / 0.7673 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.428, allocations: 8 kB / 0.7673 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.428, allocations: 34.55 kB / 0.7674 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.428, allocations: 0 / 0.7674 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.4282, allocations: 45.62 kB / 0.7674 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4282, allocations: 51.41 kB / 0.7675 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.4283, allocations: 89.86 kB / 0.7675 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4283, allocations: 25.7 kB / 0.7676 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.4283, allocations: 84.2 kB / 0.7677 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.4283, allocations: 10.72 kB / 0.7677 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.4284, allocations: 13.72 kB / 0.7677 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4285, allocations: 310.8 kB / 0.768 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.4285, allocations: 7.938 kB / 0.768 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.4285, allocations: 3.984 kB / 0.768 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.4285, allocations: 8.859 kB / 0.768 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4285, allocations: 0 / 0.768 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.334e-05/0.4286, allocations: 37.77 kB / 0.768 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4286, allocations: 4 kB / 0.768 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4286, allocations: 3.938 kB / 0.768 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4287, allocations: 0 / 0.768 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.4287, allocations: 4 kB / 0.768 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4287, allocations: 0 / 0.768 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.4287, allocations: 3.984 kB / 0.768 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4288, allocations: 3.938 kB / 0.768 GB, free: 1.426 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.203e-05/0.4288, allocations: 109.8 kB / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.4289, allocations: 7.969 kB / 0.7682 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.429, allocations: 44.75 kB / 0.7682 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.429, allocations: 0 / 0.7682 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.429, allocations: 4 kB / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.429, allocations: 0 / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.005e-05/0.4291, allocations: 141.7 kB / 0.7683 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4291, allocations: 0 / 0.7683 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.4291, allocations: 4.031 kB / 0.7683 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4291, allocations: 4 kB / 0.7683 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4291, allocations: 3.938 kB / 0.7684 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4291, allocations: 3.984 kB / 0.7684 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4291, allocations: 0 / 0.7684 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.433e-05/0.4292, allocations: 61.08 kB / 0.7684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.4292, allocations: 77.11 kB / 0.7685 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.4293, allocations: 7.938 kB / 0.7685 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.4293, allocations: 4.031 kB / 0.7685 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4293, allocations: 3.984 kB / 0.7685 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4293, allocations: 4 kB / 0.7685 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.4293, allocations: 75.28 kB / 0.7686 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4293, allocations: 3.938 kB / 0.7686 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001936/0.4295, allocations: 4 kB / 0.7686 GB, free: 0.7734 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0003479/0.4299, allocations: 0.6124 MB / 0.7692 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.43, allocations: 4 kB / 0.7692 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.43, allocations: 0 / 0.7692 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.166e-06/0.43, allocations: 4 kB / 0.7692 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.4301, allocations: 0 / 0.7692 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.4304, allocations: 114.7 kB / 0.7693 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4307, allocations: 0.673 MB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.4307, allocations: 0 / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4307, allocations: 11.44 kB / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4307, allocations: 0 / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.4473, allocations: 1.036 MB / 0.771 GB, free: 14.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/7.401, allocations: 0.625 kB / 0.771 GB, free: 14.33 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)