Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_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.001582/0.00159, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002551/0.002551, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.584/3.584, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.136/3.136, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 18.23 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.5483, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003163/0.5516, allocations: 1.14 MB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.5525, allocations: 241.5 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.5526, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.5526, allocations: 7.938 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.5527, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.5532, allocations: 47.88 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.5533, allocations: 15.92 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.5534, allocations: 7.984 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.5535, allocations: 4 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.5536, allocations: 15.92 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.5536, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.5539, allocations: 59.94 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.5539, allocations: 7.984 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.554, allocations: 25.7 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.5541, allocations: 31.95 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5542, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5542, allocations: 3.938 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5542, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 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.0007645/0.555, allocations: 351.5 kB / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/0.555, allocations: 8.031 kB / 0.7891 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/0.5552, allocations: 30.56 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.5552, allocations: 11.98 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.5555, allocations: 163 kB / 0.7893 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.5555, allocations: 3.938 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5555, allocations: 4 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.5559, allocations: 57.66 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5559, allocations: 7.938 kB / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5559, allocations: 0 / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5559, allocations: 0 / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.5562, allocations: 47.91 kB / 0.7894 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.5569, allocations: 248.9 kB / 0.7897 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.5571, allocations: 42.56 kB / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.5585, allocations: 465.5 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5586, allocations: 30.56 kB / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.426e-06/0.5586, allocations: 0 / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006577/0.5592, allocations: 105.5 kB / 0.7903 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.5593, allocations: 55.41 kB / 0.7903 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5595, allocations: 102 kB / 0.7904 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5595, allocations: 25.7 kB / 0.7905 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.5597, allocations: 84.14 kB / 0.7905 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.5597, allocations: 3.906 kB / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5597, allocations: 0 / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.56, allocations: 318.8 kB / 0.7909 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5601, allocations: 23.97 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5603, allocations: 23.98 kB / 0.7909 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5604, allocations: 19.98 kB / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5604, allocations: 0 / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003369/0.5608, allocations: 81.66 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5608, allocations: 10.81 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5608, allocations: 0 / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5609, allocations: 0 / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.561, allocations: 11.98 kB / 0.791 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.561, allocations: 4.031 kB / 0.791 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.5611, allocations: 8 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5611, allocations: 0 / 0.791 GB, free: 7.641 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.5613, allocations: 121.7 kB / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.5613, allocations: 4 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.5618, allocations: 80.72 kB / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.5618, allocations: 4 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5619, allocations: 3.938 kB / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5619, allocations: 0 / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.5622, allocations: 157.6 kB / 0.7914 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5622, allocations: 0 / 0.7914 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.5623, allocations: 15.98 kB / 0.7914 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5623, allocations: 4.031 kB / 0.7914 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5623, allocations: 0 / 0.7914 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.5624, allocations: 4 kB / 0.7914 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5624, allocations: 0 / 0.7914 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.5628, allocations: 179.3 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5629, allocations: 77.11 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.563, allocations: 7.984 kB / 0.7917 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5631, allocations: 8 kB / 0.7917 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.5632, allocations: 7.984 kB / 0.7917 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.5632, allocations: 3.938 kB / 0.7917 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.227e-05/0.5633, allocations: 79.47 kB / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5633, allocations: 4.031 kB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004024/0.5637, allocations: 16 kB / 0.7918 GB, free: 6.777 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.5652, allocations: 0.7204 MB / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.5656, allocations: 48 kB / 0.7925 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5656, allocations: 0 / 0.7925 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5658, allocations: 31.91 kB / 0.7926 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.5661, allocations: 0 / 0.7926 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.5668, allocations: 142.5 kB / 0.7927 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.5673, allocations: 0.6848 MB / 0.7934 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.5674, allocations: 4 kB / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.5675, allocations: 11.44 kB / 0.7934 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.5675, allocations: 0 / 0.7934 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.5926, allocations: 1.231 MB / 0.7946 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004465/0.5932, allocations: 177.6 kB / 0.7947 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/3.915, allocations: 0 / 0.7947 GB, free: 3.676 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: