Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",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.007709/0.007709, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.002332/0.002332, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 271.1 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.095/1.095, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1765, allocations: 86.96 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002454/0.179, allocations: 1.428 MB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005028/0.1795, allocations: 252 kB / 0.7676 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.1795, allocations: 4 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.1796, allocations: 3.938 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.1796, allocations: 3.938 kB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1799, allocations: 63.81 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.18, allocations: 19.98 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.442e-05/0.1801, allocations: 15.94 kB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.1801, allocations: 7.984 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.1802, allocations: 7.938 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1802, allocations: 4 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1803, allocations: 67.86 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1803, allocations: 4 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1804, allocations: 7.922 kB / 0.7678 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1805, allocations: 52.14 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1805, allocations: 4 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1805, allocations: 0 / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1805, allocations: 4 kB / 0.7678 GB, free: 6.973 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.0004736/0.181, allocations: 347.3 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1811, allocations: 11.97 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1811, allocations: 38.69 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.1811, allocations: 8.922 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1813, allocations: 164.3 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.1813, allocations: 4.312 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1813, allocations: 4.375 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1815, allocations: 50.23 kB / 0.7684 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1815, allocations: 3.938 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1815, allocations: 4 kB / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1815, allocations: 0 / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1817, allocations: 27.97 kB / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.182, allocations: 252.9 kB / 0.7687 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1821, allocations: 42.5 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.1822, allocations: 24.89 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/0.1829, allocations: 457.5 kB / 0.7692 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.183, allocations: 34.55 kB / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.856e-06/0.183, allocations: 3.984 kB / 0.7692 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003389/0.1833, allocations: 81.59 kB / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1834, allocations: 51.41 kB / 0.7693 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.1834, allocations: 102 kB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1835, allocations: 29.7 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1835, allocations: 84.14 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1836, allocations: 3.953 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1836, allocations: 17.7 kB / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1837, allocations: 314.8 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.1838, allocations: 11.98 kB / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.1839, allocations: 23.98 kB / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1841, allocations: 36.81 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1841, allocations: 3.938 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.1843, allocations: 65.61 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1843, allocations: 4 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1843, allocations: 4 kB / 0.77 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1843, allocations: 8.078 kB / 0.77 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.1844, allocations: 4 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1844, allocations: 0 / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1845, allocations: 7.984 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1845, allocations: 3.938 kB / 0.77 GB, free: 4.355 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 8.55e-05/0.1846, allocations: 118.4 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1846, allocations: 3.953 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.1848, allocations: 76.72 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1848, allocations: 0 / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1848, allocations: 3.984 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1848, allocations: 0 / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.185, allocations: 157.6 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.185, allocations: 0 / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.1851, allocations: 11.98 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1851, allocations: 3.938 kB / 0.7704 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1851, allocations: 0 / 0.7704 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1851, allocations: 8.031 kB / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1851, allocations: 0 / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1854, allocations: 163.5 kB / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1854, allocations: 77.11 kB / 0.7706 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1854, allocations: 3.938 kB / 0.7706 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1855, allocations: 12.02 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1855, allocations: 8 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1856, allocations: 0 / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.1856, allocations: 79.28 kB / 0.7707 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1856, allocations: 0 / 0.7707 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002305/0.1859, allocations: 19.92 kB / 0.7708 GB, free: 3.527 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.0006417/0.1865, allocations: 0.7123 MB / 0.7715 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1867, allocations: 43.92 kB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1868, allocations: 4.062 kB / 0.7715 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.1868, allocations: 19.98 kB / 0.7715 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1871, allocations: 1.875 kB / 0.7715 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1875, allocations: 147 kB / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1878, allocations: 0.6729 MB / 0.7723 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.1879, allocations: 0 / 0.7723 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.1879, allocations: 23.48 kB / 0.7723 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1879, allocations: 0 / 0.7723 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2099, allocations: 1.529 MB / 0.7738 GB, free: 384 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.003, allocations: 11.53 kB / 0.7738 GB, free: 376 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_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_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)