Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_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.004726/0.004726, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001112/0.001112, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7582/0.7582, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.91 kB / 0.5809 GB, free: 8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4386, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.00167/0.4403, allocations: 0.6168 MB / 0.6598 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.442, allocations: 1.382 MB / 0.6612 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.442, allocations: 5.312 kB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.4421, allocations: 4.594 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.4422, allocations: 1.984 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.4429, allocations: 181.6 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.4431, allocations: 51.11 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.4431, allocations: 3.719 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.4432, allocations: 16.92 kB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.4432, allocations: 29.02 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4433, allocations: 2.688 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.4437, allocations: 196.5 kB / 0.6617 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.4437, allocations: 18.08 kB / 0.6617 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.4438, allocations: 24.8 kB / 0.6617 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.4441, allocations: 192.9 kB / 0.6619 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4441, allocations: 0.6562 kB / 0.6619 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4442, allocations: 1.625 kB / 0.6619 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4442, allocations: 0 / 0.6619 GB, free: 8.227 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.0004461/0.4446, allocations: 437.8 kB / 0.6623 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4447, allocations: 10.19 kB / 0.6623 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.4447, allocations: 32.47 kB / 0.6623 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.4447, allocations: 9 kB / 0.6623 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4449, allocations: 174.7 kB / 0.6625 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4449, allocations: 10.5 kB / 0.6625 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4449, allocations: 6.594 kB / 0.6625 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.4451, allocations: 97.81 kB / 0.6626 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4451, allocations: 2.188 kB / 0.6626 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4452, allocations: 0 / 0.6626 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4452, allocations: 0 / 0.6626 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4453, allocations: 63.98 kB / 0.6627 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.4454, allocations: 176.3 kB / 0.6629 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.4456, allocations: 80.09 kB / 0.6629 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4457, allocations: 71.52 kB / 0.663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.4457, allocations: 0 / 0.663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4457, allocations: 36.58 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4457, allocations: 0 / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000453/0.4462, allocations: 255.2 kB / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4462, allocations: 80.62 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4464, allocations: 153.9 kB / 0.6635 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.4464, allocations: 27.17 kB / 0.6635 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.4464, allocations: 86.86 kB / 0.6636 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.4465, allocations: 14.78 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.4465, allocations: 29.48 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.4466, allocations: 321.5 kB / 0.664 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.4468, allocations: 99.34 kB / 0.6641 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4469, allocations: 100.8 kB / 0.6641 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4471, allocations: 279.2 kB / 0.6644 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4472, allocations: 0 / 0.6644 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003073/0.4475, allocations: 329 kB / 0.6647 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.4475, allocations: 73.22 kB / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4475, allocations: 0 / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4476, allocations: 0 / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.4476, allocations: 5.562 kB / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4476, allocations: 0 / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4477, allocations: 9.594 kB / 0.6648 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4478, allocations: 3.812 kB / 0.6648 GB, free: 5.938 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 (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 8.11e-05/0.4478, allocations: 159.2 kB / 0.665 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.4479, allocations: 10.62 kB / 0.665 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.4479, allocations: 6.469 kB / 0.665 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4479, allocations: 3.938 kB / 0.665 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4479, allocations: 0 / 0.665 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4479, allocations: 1.094 kB / 0.665 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.518e-05/0.448, allocations: 172.7 kB / 0.6652 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.448, allocations: 3.938 kB / 0.6652 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.448, allocations: 1.156 kB / 0.6652 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.448, allocations: 7.938 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.448, allocations: 2.281 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.448, allocations: 0 / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.448, allocations: 1.828 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.4483, allocations: 232 kB / 0.6654 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.4483, allocations: 91.08 kB / 0.6655 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4483, allocations: 2.75 kB / 0.6655 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.4484, allocations: 6.734 kB / 0.6655 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.4484, allocations: 13 kB / 0.6655 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4484, allocations: 1.344 kB / 0.6655 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5e-05/0.4485, allocations: 106.9 kB / 0.6656 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4485, allocations: 1.344 kB / 0.6656 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004593/0.449, allocations: 71.33 kB / 0.6657 GB, free: 5.168 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 (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.0005598/0.4495, allocations: 0.8119 MB / 0.6665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.4499, allocations: 374.9 kB / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4499, allocations: 0 / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4501, allocations: 131.2 kB / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.4502, allocations: 5.953 kB / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.4521, allocations: 2.142 MB / 0.669 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4522, allocations: 0.6975 MB / 0.6697 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.171e-06/0.4523, allocations: 0 / 0.6697 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.4523, allocations: 16.69 kB / 0.6697 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.4523, allocations: 4.031 kB / 0.6697 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.4719, allocations: 3.282 MB / 0.673 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.772, allocations: 5.703 kB / 0.673 GB, free: 204 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)