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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.004182/0.004182, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.0009985/0.0009986, allocations: 195.8 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002227/0.002227, allocations: 290.8 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 92.38 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1735, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.00244/0.176, allocations: 1.482 MB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.1763, allocations: 120.5 kB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.1764, allocations: 0 / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.1765, allocations: 3.984 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.1765, allocations: 15.88 kB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1768, allocations: 27.95 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.1769, allocations: 43.84 kB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.177, allocations: 12.27 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.177, allocations: 15.94 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.1771, allocations: 19.91 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1771, allocations: 7.938 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.1772, allocations: 35.97 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.1772, allocations: 11.98 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1773, allocations: 31.8 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1774, allocations: 79.72 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1775, allocations: 4 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1775, allocations: 3.938 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.1775, allocations: 3.938 kB / 0.7678 GB, free: 7.004 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.0005203/0.178, allocations: 375.3 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1781, allocations: 8.031 kB / 0.7681 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1781, allocations: 42.73 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.1781, allocations: 12.84 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1783, allocations: 168.2 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1783, allocations: 4.375 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1783, allocations: 8.359 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1786, allocations: 114.1 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1786, allocations: 7.922 kB / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1786, allocations: 0 / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.1787, allocations: 12 kB / 0.7685 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.179, allocations: 123.9 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1794, allocations: 340.6 kB / 0.7689 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1796, allocations: 66.47 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1798, allocations: 36.92 kB / 0.769 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.1801, allocations: 121.1 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1801, allocations: 34.56 kB / 0.7692 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1801, allocations: 4 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004939/0.1806, allocations: 133.7 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1806, allocations: 59.34 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1808, allocations: 147.7 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1808, allocations: 29.7 kB / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1809, allocations: 115.8 kB / 0.7697 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1809, allocations: 19.67 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1809, allocations: 29.72 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.181, allocations: 326.8 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1812, allocations: 43.95 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1814, allocations: 117.4 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.1817, allocations: 169.2 kB / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1817, allocations: 0 / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003943/0.1821, allocations: 181.2 kB / 0.7705 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1822, allocations: 8 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1822, allocations: 0 / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1822, allocations: 12.25 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1823, allocations: 39.91 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1824, allocations: 4 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1825, allocations: 23.88 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1825, allocations: 8 kB / 0.7706 GB, free: 3.801 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 8.751e-05/0.1826, allocations: 126.4 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1826, allocations: 11.84 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.183, allocations: 117.8 kB / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.183, allocations: 7.875 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.183, allocations: 0 / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.183, allocations: 4 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1832, allocations: 177.6 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1832, allocations: 0 / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.1833, allocations: 15.98 kB / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1833, allocations: 0 / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1833, allocations: 4 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1833, allocations: 11.88 kB / 0.771 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1833, allocations: 0 / 0.771 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1837, allocations: 203.4 kB / 0.7712 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1837, allocations: 77.11 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1837, allocations: 0 / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1838, allocations: 15.92 kB / 0.7713 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1839, allocations: 7.984 kB / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1839, allocations: 0 / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.184, allocations: 117.8 kB / 0.7714 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.184, allocations: 4 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002563/0.1842, allocations: 15.98 kB / 0.7715 GB, free: 2.801 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.0006619/0.1849, allocations: 0.7319 MB / 0.7722 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1853, allocations: 107.8 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1853, allocations: 0.625 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1854, allocations: 36.25 kB / 0.7723 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.1857, allocations: 7.938 kB / 0.7723 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1863, allocations: 203.7 kB / 0.7725 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1865, allocations: 0.6924 MB / 0.7732 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.655e-05/0.1866, allocations: 32.39 kB / 0.7732 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1867, allocations: 19.44 kB / 0.7732 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.1867, allocations: 0 / 0.7732 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/0.523, allocations: 2.229 MB / 0.7754 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.613, allocations: 8.234 kB / 0.7754 GB, free: 13.98 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)