Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") translateModel(BuildingSystems.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004884/0.004884, allocations: 100.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.001094/0.001094, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002264, allocations: 283 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 105.2 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002286/0.1559, allocations: 1.482 MB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.1562, allocations: 120.5 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.1563, allocations: 0 / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.1563, allocations: 3.938 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.1564, allocations: 7.922 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1566, allocations: 31.89 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.1567, allocations: 43.91 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.1568, allocations: 12 kB / 0.7681 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.1569, allocations: 15.92 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.1569, allocations: 27.86 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1569, allocations: 4 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.157, allocations: 43.89 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.1571, allocations: 11.98 kB / 0.7682 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1571, allocations: 27.8 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1572, allocations: 71.72 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1573, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1573, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.1573, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 GB 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.0005109/0.1578, allocations: 387.3 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1578, allocations: 8.031 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.1579, allocations: 8.844 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.158, allocations: 180.2 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.158, allocations: 4.312 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.158, allocations: 4.359 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.1583, allocations: 114.2 kB / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1583, allocations: 192 / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1584, allocations: 15.86 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.1584, allocations: 8 kB / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.1587, allocations: 123.9 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1592, allocations: 348.6 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1594, allocations: 58.53 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1596, allocations: 36.92 kB / 0.7695 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.1598, allocations: 121.1 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1599, allocations: 34.56 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1599, allocations: 4 kB / 0.7696 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/0.1604, allocations: 137.4 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.1605, allocations: 55.34 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1606, allocations: 155.8 kB / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1606, allocations: 25.7 kB / 0.77 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1607, allocations: 123.8 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.1607, allocations: 15.75 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1608, allocations: 25.72 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.1609, allocations: 322.8 kB / 0.7705 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.161, allocations: 39.95 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.1612, allocations: 121.3 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.1616, allocations: 173.2 kB / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1616, allocations: 0 / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004302/0.1621, allocations: 181.4 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1621, allocations: 8 kB / 0.771 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1621, allocations: 4 kB / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1621, allocations: 0 / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1623, allocations: 39.91 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1623, allocations: 7.938 kB / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1624, allocations: 19.88 kB / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1624, allocations: 8.188 kB / 0.771 GB, free: 3.355 MB / 0.5606 GB 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 9.157e-05/0.1625, allocations: 130.4 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1626, allocations: 7.906 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.163, allocations: 121.8 kB / 0.7713 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.163, allocations: 7.875 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.163, allocations: 0 / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.163, allocations: 288 / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1632, allocations: 177.6 kB / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1632, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.1633, allocations: 15.98 kB / 0.7715 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1633, allocations: 3.938 kB / 0.7715 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1633, allocations: 7.984 kB / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.1633, allocations: 7.938 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1633, allocations: 0 / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1637, allocations: 199.3 kB / 0.7717 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1638, allocations: 81.11 kB / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1638, allocations: 0 / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1639, allocations: 23.92 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1639, allocations: 7.984 kB / 0.7718 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.164, allocations: 0 / 0.7718 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.164, allocations: 107.3 kB / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.164, allocations: 0 / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002711/0.1643, allocations: 23.89 kB / 0.7719 GB, free: 2.348 MB / 0.5606 GB 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.000156/0.1645, allocations: 99.25 kB / 0.772 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1649, allocations: 107.8 kB / 0.7721 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1649, allocations: 0 / 0.7721 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1651, allocations: 32.59 kB / 0.7721 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1654, allocations: 18.8 kB / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.1657, allocations: 158 kB / 0.7723 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.166, allocations: 0.6885 MB / 0.773 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1661, allocations: 24.41 kB / 0.773 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1661, allocations: 19.44 kB / 0.773 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1661, allocations: 0 / 0.773 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.003442/0.1696, allocations: 0.982 MB / 0.774 GB, free: 184 kB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)