Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",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.005086/0.005086, allocations: 96.19 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.00148/0.001481, allocations: 195.7 kB / 16.68 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.422/1.422, 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.002475/0.002475, allocations: 282.9 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 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1719, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002679/0.1746, allocations: 1.434 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000532/0.1752, allocations: 244.1 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.1752, allocations: 0 / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.1752, allocations: 4 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.1753, allocations: 3.938 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1756, allocations: 55.83 kB / 0.7676 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.1757, allocations: 23.92 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.1758, allocations: 7.938 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.1758, allocations: 15.97 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.1759, allocations: 7.938 kB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1759, allocations: 4 kB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1761, allocations: 55.94 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1761, allocations: 11.94 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1761, allocations: 11.92 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1762, allocations: 52.14 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1763, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1763, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.1763, allocations: 0 / 0.7678 GB, free: 7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004922/0.1768, allocations: 347.3 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1768, allocations: 11.97 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.1769, allocations: 30.75 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.1769, allocations: 8.938 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.177, allocations: 172.3 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.177, allocations: 384 / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1771, allocations: 4.375 kB / 0.7683 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1773, allocations: 50.19 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1773, allocations: 11.91 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1773, allocations: 4 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1773, allocations: 3.938 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1775, allocations: 31.97 kB / 0.7684 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1778, allocations: 245 kB / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1779, allocations: 38.5 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.178, allocations: 20.91 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.1787, allocations: 461.4 kB / 0.7692 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1788, allocations: 34.56 kB / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1788, allocations: 0 / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1792, allocations: 81.64 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1792, allocations: 55.41 kB / 0.7693 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.1793, allocations: 97.86 kB / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1793, allocations: 25.7 kB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1794, allocations: 84.12 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1794, allocations: 7.953 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1794, allocations: 13.72 kB / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1796, allocations: 315 kB / 0.7698 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.1797, allocations: 19.92 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.1798, allocations: 19.97 kB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1799, allocations: 36.83 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.1799, allocations: 7.938 kB / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.1801, allocations: 65.72 kB / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1801, allocations: 9.875 kB / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1802, allocations: 0 / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1802, allocations: 0 / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1802, allocations: 7.984 kB / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1803, allocations: 4 kB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.1803, allocations: 4 kB / 0.77 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1803, allocations: 7.875 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.32e-05/0.1804, allocations: 118.5 kB / 0.7701 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1805, allocations: 7.938 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1807, allocations: 72.78 kB / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1807, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1807, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1807, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1809, allocations: 161.6 kB / 0.7704 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1809, allocations: 4.031 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.181, allocations: 11.98 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.181, allocations: 0 / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.181, allocations: 0 / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.181, allocations: 0 / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.181, allocations: 0 / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1813, allocations: 167.4 kB / 0.7705 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1813, allocations: 85.05 kB / 0.7706 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1814, allocations: 0 / 0.7706 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1814, allocations: 11.98 kB / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1815, allocations: 0 / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.1815, allocations: 0 / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.1816, allocations: 83.27 kB / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1816, allocations: 0 / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002319/0.1818, allocations: 15.94 kB / 0.7707 GB, free: 3.562 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 (2): * Single equations (assignments): 2 * 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.0006284/0.1824, allocations: 0.7283 MB / 0.7714 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1826, allocations: 35.97 kB / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1827, allocations: 0 / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.1827, allocations: 15.98 kB / 0.7715 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.183, allocations: 3.984 kB / 0.7715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.1834, allocations: 151.1 kB / 0.7716 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1837, allocations: 0.6768 MB / 0.7723 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.1837, allocations: 4 kB / 0.7723 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1838, allocations: 7.438 kB / 0.7723 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1838, allocations: 0 / 0.7723 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.208, allocations: 1.521 MB / 0.7738 GB, free: 424 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/7.84, allocations: 23.69 kB / 0.7738 GB, free: 404 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)