Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.0078/0.0078, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001976/0.001976, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 297.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.238/1.238, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 99.84 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4494, allocations: 89.12 MB / 0.7814 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001474/0.4509, allocations: 0.5908 MB / 0.782 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.4513, allocations: 195.9 kB / 0.7821 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.4513, allocations: 4 kB / 0.7821 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.4513, allocations: 1.156 kB / 0.7821 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.4514, allocations: 0 / 0.7821 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.4517, allocations: 54.23 kB / 0.7822 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.634e-05/0.4517, allocations: 1.25 kB / 0.7822 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.4518, allocations: 5.391 kB / 0.7822 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.4518, allocations: 0 / 0.7822 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.967e-05/0.4518, allocations: 0 / 0.7822 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.4518, allocations: 1.156 kB / 0.7822 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.452, allocations: 58.14 kB / 0.7823 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.452, allocations: 7.984 kB / 0.7823 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.452, allocations: 5.172 kB / 0.7823 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4521, allocations: 27.05 kB / 0.7823 GB, free: 496 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4522, allocations: 4 kB / 0.7823 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4522, allocations: 3.984 kB / 0.7823 GB, free: 488 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.4522, allocations: 9.188 kB / 0.7823 GB, free: 480 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002177/0.4524, allocations: 322.8 kB / 0.7826 GB, free: 116 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4524, allocations: 10.03 kB / 0.7826 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.4525, allocations: 30.75 kB / 0.7827 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.4525, allocations: 0.9375 kB / 0.7827 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.4526, allocations: 169.7 kB / 0.7828 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4526, allocations: 384 / 0.7828 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.4526, allocations: 4.312 kB / 0.7828 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.4527, allocations: 28.86 kB / 0.7829 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4528, allocations: 3.938 kB / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.4528, allocations: 0 / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4528, allocations: 1.281 kB / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.4528, allocations: 1.094 kB / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.453, allocations: 158.9 kB / 0.783 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.453, allocations: 16.08 kB / 0.783 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.453, allocations: 10.2 kB / 0.783 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/0.4538, allocations: 458.8 kB / 0.7835 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4538, allocations: 35.97 kB / 0.7835 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4538, allocations: 0 / 0.7835 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.454, allocations: 34.36 kB / 0.7835 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.454, allocations: 51.41 kB / 0.7836 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.4541, allocations: 93.86 kB / 0.7837 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4541, allocations: 27.11 kB / 0.7837 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.4541, allocations: 80.14 kB / 0.7838 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.4541, allocations: 4.078 kB / 0.7838 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.4542, allocations: 16 kB / 0.7838 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4543, allocations: 316 kB / 0.7841 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.4543, allocations: 3.938 kB / 0.7841 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.4544, allocations: 1.125 kB / 0.7841 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.4544, allocations: 7.734 kB / 0.7841 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4544, allocations: 1.438 kB / 0.7841 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.079e-05/0.4544, allocations: 33.92 kB / 0.7841 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4545, allocations: 8.969 kB / 0.7842 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4545, allocations: 5.344 kB / 0.7842 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4545, allocations: 0 / 0.7842 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.4545, allocations: 5.031 kB / 0.7842 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4545, allocations: 5.234 kB / 0.7842 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.4546, allocations: 0 / 0.7842 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4546, allocations: 5.406 kB / 0.7842 GB, free: 14.34 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 (1): * Single equations (assignments): 1 * 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 7.309e-05/0.4546, allocations: 110.8 kB / 0.7843 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-06/0.4547, allocations: 3.984 kB / 0.7843 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.4547, allocations: 45.36 kB / 0.7843 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4548, allocations: 3.938 kB / 0.7843 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4548, allocations: 5.109 kB / 0.7843 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4548, allocations: 0 / 0.7843 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.4549, allocations: 142.8 kB / 0.7845 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4549, allocations: 0 / 0.7845 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.4549, allocations: 2.219 kB / 0.7845 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4549, allocations: 0 / 0.7845 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4549, allocations: 5.031 kB / 0.7845 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4549, allocations: 0 / 0.7845 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4549, allocations: 5.094 kB / 0.7845 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.287e-05/0.455, allocations: 63.19 kB / 0.7845 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.4551, allocations: 77.11 kB / 0.7846 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4551, allocations: 5.594 kB / 0.7846 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.4551, allocations: 0 / 0.7846 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-06/0.4551, allocations: 0 / 0.7846 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.4551, allocations: 1.312 kB / 0.7846 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.4552, allocations: 79.31 kB / 0.7847 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4552, allocations: 0 / 0.7847 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001973/0.4554, allocations: 18.8 kB / 0.7847 GB, free: 13.71 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 (1): * Single equations (assignments): 1 * 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.0004687/0.4558, allocations: 0.6131 MB / 0.7853 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.085e-05/0.4559, allocations: 3.781 kB / 0.7853 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4559, allocations: 0 / 0.7853 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-06/0.4559, allocations: 2.031 kB / 0.7853 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.4561, allocations: 2.656 kB / 0.7853 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.4563, allocations: 110.3 kB / 0.7854 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.4566, allocations: 0.6744 MB / 0.7861 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.4567, allocations: 5.453 kB / 0.7861 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.4567, allocations: 11.38 kB / 0.7861 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4567, allocations: 0 / 0.7861 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.4785, allocations: 1.168 MB / 0.7872 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.315, allocations: 11.05 kB / 0.7873 GB, free: 11.58 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)