Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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: translateModel(Annex60.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic") translateModel(Annex60.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 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.001418/0.001418, allocations: 192 kB / 16.53 MB, free: 6.391 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.644/1.644, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4254/0.4254, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 59.6 MB / 454.9 MB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Bicubic): time 0.2685/0.4231, allocations: 1.456 MB / 456.4 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000284/0.4235, allocations: 104.1 kB / 456.5 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.4235, allocations: 1.312 kB / 456.5 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.4236, allocations: 4.5 kB / 456.5 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.4237, allocations: 11.45 kB / 456.5 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.4239, allocations: 31.47 kB / 456.5 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.424, allocations: 41.19 kB / 456.6 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4241, allocations: 17.48 kB / 456.6 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.4242, allocations: 15.36 kB / 456.6 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.4242, allocations: 28.58 kB / 456.6 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.4243, allocations: 3.062 kB / 456.6 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.4244, allocations: 36.22 kB / 456.7 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.4244, allocations: 17.06 kB / 456.7 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.4245, allocations: 23.81 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.4246, allocations: 69.03 kB / 456.8 MB, free: 39.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4246, allocations: 2.812 kB / 456.8 MB, free: 39.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4246, allocations: 0 / 456.8 MB, free: 39.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4246, allocations: 0 / 456.8 MB, free: 39.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004819/0.4251, allocations: 379.1 kB / 457.1 MB, free: 38.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.4252, allocations: 9.344 kB / 457.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.4252, allocations: 7.469 kB / 457.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/0.4253, allocations: 184.4 kB / 457.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4253, allocations: 1.75 kB / 457.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4253, allocations: 3.156 kB / 457.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4256, allocations: 112.9 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4256, allocations: 0 / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4256, allocations: 5.5 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.4257, allocations: 10.94 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.426, allocations: 125.6 kB / 457.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.4264, allocations: 348 kB / 457.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4266, allocations: 55.56 kB / 458 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.4268, allocations: 44.73 kB / 458 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.4271, allocations: 126.2 kB / 458.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4271, allocations: 30.56 kB / 458.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4271, allocations: 6.781 kB / 458.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.4276, allocations: 138.9 kB / 458.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4277, allocations: 51.41 kB / 458.4 MB, free: 37.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.4278, allocations: 147.5 kB / 458.5 MB, free: 37.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.4278, allocations: 25.7 kB / 458.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.4278, allocations: 125.1 kB / 458.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.4279, allocations: 13.89 kB / 458.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4279, allocations: 27.44 kB / 458.7 MB, free: 37.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.428, allocations: 321.1 kB / 459 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4281, allocations: 43.36 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4283, allocations: 115 kB / 459.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.4286, allocations: 166.8 kB / 459.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4286, allocations: 1.406 kB / 459.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003895/0.429, allocations: 187.1 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4291, allocations: 5.25 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4291, allocations: 9.547 kB / 459.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4291, allocations: 2.531 kB / 459.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4293, allocations: 35.91 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4293, allocations: 4.062 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4294, allocations: 29.36 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.4294, allocations: 10.22 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 5.73e-05/0.4295, allocations: 118.4 kB / 459.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4295, allocations: 9.062 kB / 459.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.4299, allocations: 124.2 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4299, allocations: 1.234 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4299, allocations: 2.75 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4299, allocations: 7.312 kB / 459.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.43, allocations: 171.1 kB / 460 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.43, allocations: 1.312 kB / 460 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.4301, allocations: 26.8 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4301, allocations: 0 / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4302, allocations: 3.938 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4302, allocations: 0 / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4302, allocations: 0 / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.4305, allocations: 204.5 kB / 460.3 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.4305, allocations: 83.95 kB / 460.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4305, allocations: 3.938 kB / 460.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4306, allocations: 9.656 kB / 460.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4307, allocations: 15.3 kB / 460.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4307, allocations: 2.938 kB / 460.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.4307, allocations: 107.3 kB / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4308, allocations: 0 / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.431, allocations: 17.06 kB / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001043/0.4311, allocations: 104.2 kB / 460.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.4315, allocations: 111.8 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4315, allocations: 0.625 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4316, allocations: 38.06 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.432, allocations: 8.219 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.4323, allocations: 160 kB / 460.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4324, allocations: 0.6924 MB / 461.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.4325, allocations: 25.88 kB / 461.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.4325, allocations: 12.88 kB / 461.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4326, allocations: 0 / 461.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of Templates: time 0.00303/0.4356, allocations: 0.9682 MB / 462.6 MB, free: 35.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Bicubic.pipe 2>&1)