Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.314/1.314, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009577/0.0009578, allocations: 178.6 kB / 325.8 MB, free: 2.684 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.394/1.394, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006756/0.0006756, allocations: 85.97 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002924, allocations: 8.812 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001308/0.1652, allocations: 1.176 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1662, allocations: 0.8752 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.1663, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.143e-05/0.1664, allocations: 3.938 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.1664, allocations: 3.938 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.1669, allocations: 135.7 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.1669, allocations: 39.91 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.167, allocations: 4 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.167, allocations: 11.98 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.1671, allocations: 23.91 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1671, allocations: 0 / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1673, allocations: 187.7 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.1674, allocations: 7.938 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.1674, allocations: 19.92 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1676, allocations: 187.6 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1676, allocations: 0 / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1676, allocations: 0 / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1676, allocations: 0 / 0.8988 GB, free: 65.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003393/0.168, allocations: 418.8 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.168, allocations: 12.03 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.1681, allocations: 34.73 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1681, allocations: 12.78 kB / 0.8993 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.779e-05/0.1682, allocations: 180.3 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1682, allocations: 384 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1682, allocations: 4.375 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1684, allocations: 77.78 kB / 0.8995 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1684, allocations: 0 / 0.8995 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1684, allocations: 4 kB / 0.8995 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1684, allocations: 0 / 0.8995 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.1685, allocations: 51.97 kB / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1688, allocations: 288.8 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.1689, allocations: 62.48 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.169, allocations: 52.91 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.169, allocations: 4 kB / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.169, allocations: 34.5 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.169, allocations: 0 / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003145/0.1694, allocations: 187.3 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1694, allocations: 81.11 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.1695, allocations: 129.9 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.1695, allocations: 25.7 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.1695, allocations: 88.12 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.1695, allocations: 11.81 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.1696, allocations: 13.72 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.1696, allocations: 318.8 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.1697, allocations: 63.95 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1698, allocations: 59.97 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1699, allocations: 193.9 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1699, allocations: 4 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002353/0.1702, allocations: 225 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.1702, allocations: 59.41 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1702, allocations: 0 / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1703, allocations: 4 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.1703, allocations: 7.984 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1703, allocations: 0 / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.1704, allocations: 15.84 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1704, allocations: 4.062 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.232e-05/0.1705, allocations: 151.5 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1705, allocations: 4 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.1705, allocations: 11.91 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1705, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1705, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1705, allocations: 4 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1707, allocations: 173.6 kB / 0.9017 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1707, allocations: 3.938 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.1707, allocations: 4 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1707, allocations: 3.984 kB / 0.9018 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1707, allocations: 3.938 kB / 0.9018 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1707, allocations: 4 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1707, allocations: 4 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1709, allocations: 253 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.171, allocations: 81.11 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.171, allocations: 4 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.171, allocations: 7.984 kB / 0.9021 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.1711, allocations: 8.031 kB / 0.9021 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1712, allocations: 0 / 0.9021 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.1712, allocations: 99.27 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1712, allocations: 0 / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002809/0.1715, allocations: 59.98 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0004715/0.172, allocations: 0.8389 MB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1722, allocations: 238.7 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1722, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.1723, allocations: 107.4 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.1725, allocations: 4.422 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1738, allocations: 1.761 MB / 0.9051 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/0.1739, allocations: 0.6888 MB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.1739, allocations: 4 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1739, allocations: 15.42 kB / 0.9058 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.1739, allocations: 0 / 0.9058 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/0.3408, allocations: 2.53 MB / 0.9083 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.3411, allocations: 255.3 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.922, allocations: 3.938 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)