Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.0008089/0.000809, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00483/0.00483, allocations: 170 kB / 16.26 MB, free: 6.613 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.149/1.149, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8172/0.8172, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002618, allocations: 9.156 kB / 0.5077 GB, free: 4.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 82.31 MB / 0.5881 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001221/0.1202, allocations: 1.142 MB / 0.5892 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1213, allocations: 0.792 MB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.1214, allocations: 4 kB / 0.59 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.1214, allocations: 3.938 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.1214, allocations: 0 / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1219, allocations: 135.2 kB / 0.5901 GB, free: 400 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.122, allocations: 47.83 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.122, allocations: 0 / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.1221, allocations: 15.98 kB / 0.5902 GB, free: 336 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.1221, allocations: 15.92 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1221, allocations: 4 kB / 0.5902 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.1224, allocations: 187.7 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.1224, allocations: 7.984 kB / 0.5904 GB, free: 120 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.1225, allocations: 49.56 kB / 0.5904 GB, free: 64 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1227, allocations: 187.9 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1227, allocations: 0 / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1228, allocations: 0 / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.1228, allocations: 3.938 kB / 0.5906 GB, free: 15.88 MB / 0.4981 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.0003903/0.1232, allocations: 426.8 kB / 0.591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1232, allocations: 12.03 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.1232, allocations: 38.67 kB / 0.5911 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.1233, allocations: 8.938 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.1233, allocations: 164.3 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1234, allocations: 4.375 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1234, allocations: 3.938 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1235, allocations: 81.66 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.1236, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1236, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1236, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1237, allocations: 55.97 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.124, allocations: 280.8 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.1241, allocations: 58.55 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.1242, allocations: 52.91 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.1242, allocations: 0 / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1243, allocations: 30.56 kB / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1243, allocations: 0 / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003339/0.1246, allocations: 195.2 kB / 0.592 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1246, allocations: 77.11 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.1247, allocations: 131.9 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1247, allocations: 25.7 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.1248, allocations: 96.06 kB / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.1248, allocations: 3.906 kB / 0.5923 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1248, allocations: 25.59 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.1249, allocations: 314.8 kB / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.125, allocations: 63.95 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.1251, allocations: 60.11 kB / 0.5927 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1253, allocations: 193.9 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1253, allocations: 0 / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002489/0.1256, allocations: 224.9 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.1256, allocations: 67.39 kB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1256, allocations: 4.094 kB / 0.5932 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1257, allocations: 11.98 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.1257, allocations: 4 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1257, allocations: 3.984 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.1258, allocations: 4 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1258, allocations: 4 kB / 0.5932 GB, free: 12.91 MB / 0.4981 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 8.36e-05/0.1259, allocations: 151.5 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1259, allocations: 7.906 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.1259, allocations: 7.906 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1259, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1259, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.126, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1261, allocations: 177.6 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1261, allocations: 0 / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.1261, allocations: 4 kB / 0.5935 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1261, allocations: 0 / 0.5935 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1262, allocations: 3.984 kB / 0.5936 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1262, allocations: 0 / 0.5936 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1262, allocations: 4 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1264, allocations: 257.1 kB / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.1264, allocations: 81.02 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1265, allocations: 4 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.1265, allocations: 7.984 kB / 0.5939 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1266, allocations: 12.03 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1266, allocations: 3.984 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.1267, allocations: 99.2 kB / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1267, allocations: 0 / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002703/0.127, allocations: 59.92 kB / 0.5941 GB, free: 11.93 MB / 0.4981 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.0005524/0.1275, allocations: 0.8351 MB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.1278, allocations: 242.7 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1278, allocations: 0 / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1279, allocations: 99.38 kB / 0.5952 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1281, allocations: 20.62 kB / 0.5952 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1296, allocations: 1.776 MB / 0.597 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.1298, allocations: 0.6848 MB / 0.5976 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.201e-05/0.1298, allocations: 8 kB / 0.5976 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1299, allocations: 11.44 kB / 0.5976 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1299, allocations: 0 / 0.5976 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/1.338, allocations: 2.511 MB / 0.6001 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.339, allocations: 233.2 kB / 0.6003 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.857, allocations: 0 / 0.6003 GB, free: 5.523 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)