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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108 kB / 16.41 MB, free: 6.027 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.001723/0.001723, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002261, allocations: 291.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 100.2 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4021, allocations: 86.98 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001524/0.4037, allocations: 0.6058 MB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.4053, allocations: 1.388 MB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.4053, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.986e-05/0.4054, allocations: 4 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.4054, allocations: 11.92 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.406, allocations: 167.6 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.4061, allocations: 55.91 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.4062, allocations: 7.969 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.4062, allocations: 19.92 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.4063, allocations: 23.92 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4063, allocations: 0 / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.4066, allocations: 207.7 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.4067, allocations: 15.98 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.4067, allocations: 23.81 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.407, allocations: 187.2 kB / 0.7697 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.407, allocations: 4 kB / 0.7697 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.407, allocations: 0 / 0.7697 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.407, allocations: 4 kB / 0.7697 GB, free: 1.129 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.0004461/0.4075, allocations: 433.2 kB / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4075, allocations: 8.031 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.4076, allocations: 8.844 kB / 0.7702 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4077, allocations: 179.5 kB / 0.7703 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4077, allocations: 8.375 kB / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.4077, allocations: 4.312 kB / 0.7704 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4079, allocations: 99.75 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4079, allocations: 0 / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4079, allocations: 4 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4079, allocations: 4 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/0.408, allocations: 59.95 kB / 0.7705 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.4082, allocations: 169.7 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.4083, allocations: 78.53 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.4084, allocations: 72.83 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.4084, allocations: 0 / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4085, allocations: 42.5 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4085, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003756/0.4089, allocations: 251.2 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4089, allocations: 81.09 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4091, allocations: 145.7 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4091, allocations: 25.7 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4091, allocations: 100.1 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4092, allocations: 19.69 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.4092, allocations: 33.73 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4094, allocations: 314.8 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4095, allocations: 107.9 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4096, allocations: 99.94 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.4099, allocations: 277.8 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4099, allocations: 0 / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003391/0.4102, allocations: 320.8 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.4103, allocations: 75.38 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4103, allocations: 0 / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4103, allocations: 4.062 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.4103, allocations: 4 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4103, allocations: 0 / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4105, allocations: 8 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4105, allocations: 4 kB / 0.7726 GB, free: 13.87 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 0.0001195/0.4106, allocations: 157.9 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.4107, allocations: 11.84 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.4107, allocations: 8.234 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4107, allocations: 4.141 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4107, allocations: 0 / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4107, allocations: 7.984 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.4108, allocations: 173.6 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4108, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-06/0.4109, allocations: 7.938 kB / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4109, allocations: 0 / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4109, allocations: 0 / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4109, allocations: 0 / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4109, allocations: 0 / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.4112, allocations: 230.6 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.4112, allocations: 88.95 kB / 0.7733 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.4112, allocations: 0 / 0.7733 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.4113, allocations: 4 kB / 0.7733 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.4114, allocations: 11.98 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4114, allocations: 3.938 kB / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.4114, allocations: 110.4 kB / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.968e-06/0.4115, allocations: 0 / 0.7734 GB, free: 12.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002701/0.4117, allocations: 67.94 kB / 0.7735 GB, free: 12.89 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.0002728/0.412, allocations: 155.2 kB / 0.7736 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.4124, allocations: 374.6 kB / 0.774 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4124, allocations: 3.938 kB / 0.774 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.4126, allocations: 135.4 kB / 0.7741 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.4127, allocations: 6.234 kB / 0.7741 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.4131, allocations: 234.3 kB / 0.7744 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4134, allocations: 0.6964 MB / 0.775 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.4134, allocations: 7.438 kB / 0.7751 GB, free: 11.2 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4134, allocations: 3.938 kB / 0.7751 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Templates: time 0.003284/0.4167, allocations: 1.667 MB / 0.7767 GB, free: 9.527 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)