Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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.004986/0.004986, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.00118/0.00118, allocations: 199.3 kB / 16.68 MB, free: 5.961 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 307.5 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8838/0.8838, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 91.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3944, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001447/0.3959, allocations: 0.6094 MB / 0.7665 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3975, allocations: 1.381 MB / 0.7679 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3975, allocations: 0 / 0.7679 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.068e-05/0.3976, allocations: 3.938 kB / 0.7679 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.3976, allocations: 11.98 kB / 0.7679 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.3982, allocations: 184.3 kB / 0.7681 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3983, allocations: 43.97 kB / 0.7681 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.3984, allocations: 3.938 kB / 0.7681 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.3984, allocations: 23.97 kB / 0.7681 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.3985, allocations: 27.91 kB / 0.7682 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3985, allocations: 4 kB / 0.7682 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.3988, allocations: 203.7 kB / 0.7684 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.3989, allocations: 11.98 kB / 0.7684 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3989, allocations: 27.8 kB / 0.7684 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3992, allocations: 191.5 kB / 0.7686 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3992, allocations: 0 / 0.7686 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3992, allocations: 0 / 0.7686 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3992, allocations: 0 / 0.7686 GB, free: 1.145 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004387/0.3996, allocations: 434.7 kB / 0.769 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3997, allocations: 8.031 kB / 0.769 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.3997, allocations: 42.75 kB / 0.7691 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.3998, allocations: 12.84 kB / 0.7691 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3999, allocations: 176.2 kB / 0.7692 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3999, allocations: 384 / 0.7692 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3999, allocations: 4.375 kB / 0.7692 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4001, allocations: 99.56 kB / 0.7693 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.4001, allocations: 0 / 0.7693 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4001, allocations: 0 / 0.7693 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4001, allocations: 0 / 0.7693 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.4002, allocations: 63.89 kB / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.4003, allocations: 177.6 kB / 0.7696 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4005, allocations: 86.52 kB / 0.7697 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.4005, allocations: 64.89 kB / 0.7697 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.4006, allocations: 0 / 0.7697 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4006, allocations: 34.5 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4006, allocations: 0 / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.4009, allocations: 251.2 kB / 0.77 GB, free: 15.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.401, allocations: 89.14 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4011, allocations: 152.3 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4011, allocations: 25.7 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.4012, allocations: 96.11 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.4012, allocations: 15.69 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.4012, allocations: 29.7 kB / 0.7704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4014, allocations: 318.8 kB / 0.7707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4015, allocations: 103.9 kB / 0.7708 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4016, allocations: 107.9 kB / 0.7709 GB, free: 14.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.4018, allocations: 277.8 kB / 0.7711 GB, free: 14.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4018, allocations: 0 / 0.7711 GB, free: 14.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003225/0.4022, allocations: 328.8 kB / 0.7715 GB, free: 13.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.4022, allocations: 67.39 kB / 0.7715 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4022, allocations: 0 / 0.7715 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4023, allocations: 3.984 kB / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4023, allocations: 0 / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4023, allocations: 0 / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4024, allocations: 11.98 kB / 0.7715 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4024, allocations: 8.062 kB / 0.7715 GB, free: 13.82 MB / 0.545 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.65e-05/0.4025, allocations: 149.9 kB / 0.7717 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.4025, allocations: 11.84 kB / 0.7717 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.4025, allocations: 8.25 kB / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4026, allocations: 0 / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4026, allocations: 0 / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4026, allocations: 0 / 0.7717 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.4027, allocations: 177.6 kB / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4027, allocations: 3.938 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4027, allocations: 4 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4027, allocations: 0 / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4027, allocations: 7.984 kB / 0.7719 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4027, allocations: 4 kB / 0.7719 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4027, allocations: 0 / 0.7719 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.403, allocations: 226.6 kB / 0.7721 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.403, allocations: 88.94 kB / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4031, allocations: 4 kB / 0.7722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.4031, allocations: 12.03 kB / 0.7722 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.4032, allocations: 7.984 kB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4032, allocations: 3.938 kB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.4033, allocations: 114.2 kB / 0.7723 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4033, allocations: 0 / 0.7723 GB, free: 12.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002545/0.4035, allocations: 64 kB / 0.7724 GB, free: 12.85 MB / 0.545 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.0006185/0.4042, allocations: 0.8169 MB / 0.7732 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.4045, allocations: 370.7 kB / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4045, allocations: 0 / 0.7735 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4047, allocations: 139.3 kB / 0.7737 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.4048, allocations: 8 kB / 0.7737 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4066, allocations: 2.123 MB / 0.7758 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.4069, allocations: 0.6962 MB / 0.7764 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.489e-06/0.4069, allocations: 0 / 0.7764 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.4069, allocations: 19.47 kB / 0.7765 GB, free: 8.488 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4069, allocations: 0 / 0.7765 GB, free: 8.488 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.4244, allocations: 3.361 MB / 0.7797 GB, free: 5.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.508, allocations: 7.094 kB / 0.7797 GB, free: 5.246 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)