Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001077/0.001077, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 196.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002056, allocations: 70.61 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2194, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001839/0.2213, allocations: 0.6239 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.223, allocations: 1.42 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.2231, allocations: 4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.648e-05/0.2231, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.2232, allocations: 4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.2238, allocations: 167.6 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2239, allocations: 59.83 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.224, allocations: 8.266 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.224, allocations: 23.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.2241, allocations: 23.92 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.2241, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.2244, allocations: 203.7 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.2245, allocations: 15.92 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.2245, allocations: 19.88 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.2248, allocations: 191.5 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2248, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2248, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2248, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 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.0004267/0.2252, allocations: 438.7 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2253, allocations: 8.031 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.2253, allocations: 34.75 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2254, allocations: 4.844 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2255, allocations: 188.1 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2255, allocations: 384 / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2255, allocations: 4.375 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2257, allocations: 97.77 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2257, allocations: 0 / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2257, allocations: 4 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2257, allocations: 4 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.2258, allocations: 59.95 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.226, allocations: 181.5 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2261, allocations: 78.47 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.2262, allocations: 72.89 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.2262, allocations: 3.938 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2262, allocations: 34.5 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2262, allocations: 4 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003528/0.2266, allocations: 247.3 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2266, allocations: 89.03 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2268, allocations: 140.4 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2268, allocations: 29.7 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.2268, allocations: 92.12 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2268, allocations: 11.81 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.2269, allocations: 29.7 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.227, allocations: 318.9 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2271, allocations: 103.9 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2272, allocations: 99.94 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2275, allocations: 278 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2275, allocations: 0 / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003201/0.2278, allocations: 328.7 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.2279, allocations: 79.31 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2279, allocations: 3.938 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2279, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2279, allocations: 4.062 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2279, allocations: 0 / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2281, allocations: 15.94 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2281, allocations: 0 / 0.7893 GB, free: 7.145 MB / 0.6075 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 9.582e-05/0.2282, allocations: 148.2 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.2282, allocations: 11.84 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.2282, allocations: 16.38 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2282, allocations: 3.984 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2282, allocations: 0 / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2282, allocations: 4 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2284, allocations: 169.6 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2284, allocations: 3.938 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2284, allocations: 0 / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2284, allocations: 0 / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2284, allocations: 4 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2284, allocations: 0 / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2284, allocations: 0 / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2287, allocations: 242.5 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2287, allocations: 84.95 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2287, allocations: 4 kB / 0.7899 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.2288, allocations: 0 / 0.7899 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.2288, allocations: 7.984 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2289, allocations: 4 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.2289, allocations: 110.2 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2289, allocations: 0 / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002676/0.2292, allocations: 68 kB / 0.7901 GB, free: 6.168 MB / 0.6075 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006765/0.2299, allocations: 0.817 MB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.2303, allocations: 366.6 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2303, allocations: 4 kB / 0.7913 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2304, allocations: 135.3 kB / 0.7914 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.2306, allocations: 6.406 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.2325, allocations: 2.149 MB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2327, allocations: 0.6924 MB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.103e-06/0.2327, allocations: 4.188 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2328, allocations: 19.42 kB / 0.7942 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2328, allocations: 3.938 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2507, allocations: 3.277 MB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.127, allocations: 7.938 kB / 0.7974 GB, free: 14.6 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)