Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Bicubic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Bicubic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic",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.001375/0.001375, allocations: 101.4 kB / 16.27 MB, free: 6.41 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.001558/0.001557, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7402/0.7402, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Bicubic): time 0.002582/0.3122, allocations: 1.479 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.3125, allocations: 117.3 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.3125, allocations: 5 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.3126, allocations: 4.594 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.3127, allocations: 17.73 kB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3129, allocations: 25.03 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.313, allocations: 43.58 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3131, allocations: 14.98 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.3132, allocations: 16.92 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.3132, allocations: 20.56 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3132, allocations: 4.219 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.3133, allocations: 35.97 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.3134, allocations: 18.83 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.3134, allocations: 22.47 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3135, allocations: 70.78 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3136, allocations: 1.812 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3136, allocations: 0.5625 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3136, allocations: 3.938 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004502/0.314, allocations: 388.8 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3141, allocations: 10.45 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.3141, allocations: 39.27 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.3141, allocations: 7.875 kB / 0.5696 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.3142, allocations: 174 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3142, allocations: 1.844 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3143, allocations: 7.188 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.3145, allocations: 106.9 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3145, allocations: 4.531 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3146, allocations: 0 / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3146, allocations: 15.8 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.3149, allocations: 117.7 kB / 0.57 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.3153, allocations: 355.1 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3156, allocations: 56.55 kB / 0.5704 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3157, allocations: 38.19 kB / 0.5704 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.316, allocations: 127.6 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.316, allocations: 37.42 kB / 0.5706 GB, free: 30.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3161, allocations: 0.5625 kB / 0.5706 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005491/0.3166, allocations: 137.6 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3166, allocations: 58.38 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3168, allocations: 142.4 kB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.3168, allocations: 25.7 kB / 0.5709 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.3168, allocations: 124.6 kB / 0.571 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.3168, allocations: 9.062 kB / 0.571 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3169, allocations: 33.61 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.3169, allocations: 319.9 kB / 0.5714 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3171, allocations: 48.02 kB / 0.5714 GB, free: 29.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3173, allocations: 115.8 kB / 0.5715 GB, free: 29.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.3176, allocations: 164.8 kB / 0.5717 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3176, allocations: 5.062 kB / 0.5717 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004034/0.3181, allocations: 182.2 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3181, allocations: 6.594 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3181, allocations: 2.594 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3181, allocations: 7.156 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3183, allocations: 36.81 kB / 0.5719 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3183, allocations: 11.8 kB / 0.5719 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3184, allocations: 25.58 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3184, allocations: 7.812 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 6.281e-05/0.3185, allocations: 121 kB / 0.5721 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3185, allocations: 7.344 kB / 0.5721 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.3189, allocations: 123.5 kB / 0.5722 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3189, allocations: 8.969 kB / 0.5722 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3189, allocations: 0 / 0.5722 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3189, allocations: 0.7031 kB / 0.5722 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3191, allocations: 178 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3191, allocations: 1.625 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.3192, allocations: 17.12 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3192, allocations: 2.625 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3192, allocations: 1.188 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3192, allocations: 5.703 kB / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3192, allocations: 0 / 0.5724 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.3195, allocations: 202.2 kB / 0.5726 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.3196, allocations: 84.06 kB / 0.5727 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3196, allocations: 2.375 kB / 0.5727 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3197, allocations: 16.92 kB / 0.5727 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3198, allocations: 4.531 kB / 0.5727 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3198, allocations: 6.406 kB / 0.5727 GB, free: 28.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.3198, allocations: 110.3 kB / 0.5728 GB, free: 28.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3198, allocations: 0 / 0.5728 GB, free: 28.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3201, allocations: 17.38 kB / 0.5728 GB, free: 28.51 MB / 446.1 MB 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 (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.0006564/0.3208, allocations: 0.7296 MB / 0.5735 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3212, allocations: 109.3 kB / 0.5736 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3212, allocations: 1.156 kB / 0.5736 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3214, allocations: 35.42 kB / 0.5737 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3217, allocations: 17.05 kB / 0.5737 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.3223, allocations: 204.4 kB / 0.5739 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3225, allocations: 0.6956 MB / 0.5746 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3226, allocations: 32.59 kB / 0.5746 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3227, allocations: 25.31 kB / 0.5746 GB, free: 26.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3227, allocations: 0 / 0.5746 GB, free: 26.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.3412, allocations: 2.141 MB / 0.5767 GB, free: 26.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.39, allocations: 7.547 kB / 0.5767 GB, free: 26.53 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe 2>&1)