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.00087/0.0008702, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005101/0.005102, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.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.001626/0.001626, allocations: 278.5 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 18.34 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005476/0.1256, allocations: 306 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.126, allocations: 212.6 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-06/0.126, allocations: 0 / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.126, allocations: 0.5312 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.877e-06/0.1261, allocations: 0.5625 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1263, allocations: 43.89 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.254e-05/0.1263, allocations: 0.625 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.1264, allocations: 5.906 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.1264, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.515e-05/0.1264, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-06/0.1264, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1266, allocations: 63.88 kB / 0.6858 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1266, allocations: 10.55 kB / 0.6859 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.1266, allocations: 29.64 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.1267, allocations: 31.95 kB / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1267, allocations: 0 / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1267, allocations: 0 / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.1267, allocations: 0 / 0.6859 GB, free: 14.26 MB / 494.1 MB 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.0002053/0.1269, allocations: 316.8 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.127, allocations: 12.03 kB / 0.6862 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.127, allocations: 30.75 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.606e-05/0.127, allocations: 1.5 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.091e-05/0.1271, allocations: 164.3 kB / 0.6864 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.1271, allocations: 0.9062 kB / 0.6864 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.1271, allocations: 6.375 kB / 0.6864 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.735e-05/0.1272, allocations: 38.19 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1272, allocations: 3.938 kB / 0.6865 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.1272, allocations: 4 kB / 0.6865 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1272, allocations: 0.7188 kB / 0.6865 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.37e-05/0.1272, allocations: 0 / 0.6865 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.1273, allocations: 149.1 kB / 0.6866 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.729e-05/0.1274, allocations: 18.52 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.1274, allocations: 4.859 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.128, allocations: 466.6 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.128, allocations: 32.97 kB / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.128, allocations: 0 / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.127e-05/0.1281, allocations: 37.62 kB / 0.6871 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1282, allocations: 63.34 kB / 0.6872 GB, free: 12.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.727e-05/0.1282, allocations: 90.36 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1282, allocations: 26.45 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.1282, allocations: 89.72 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1283, allocations: 288 / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.1283, allocations: 9.719 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.1284, allocations: 310.8 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.1284, allocations: 3 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.1284, allocations: 4 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.1284, allocations: 4.859 kB / 0.6877 GB, free: 12.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1284, allocations: 0 / 0.6877 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.358e-05/0.1285, allocations: 41.69 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.1285, allocations: 4 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1285, allocations: 4.719 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.1285, allocations: 3.938 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.1285, allocations: 5.719 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.1285, allocations: 0 / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.016e-05/0.1286, allocations: 3.938 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.1286, allocations: 0 / 0.6878 GB, free: 12.04 MB / 494.1 MB 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 4.984e-05/0.1286, allocations: 107.2 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.1286, allocations: 4.625 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.1287, allocations: 49.53 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1287, allocations: 0 / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1287, allocations: 0.5312 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1287, allocations: 1 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.737e-05/0.1288, allocations: 145.7 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1288, allocations: 0 / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.1288, allocations: 5.062 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1288, allocations: 0 / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1288, allocations: 3.938 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1288, allocations: 12.12 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1288, allocations: 0 / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.012e-05/0.1289, allocations: 57.14 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.1289, allocations: 81.09 kB / 0.6882 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1289, allocations: 3.938 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-06/0.129, allocations: 0 / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.129, allocations: 3.984 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.129, allocations: 32 / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.129, allocations: 79.28 kB / 0.6883 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.129, allocations: 7.938 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.1292, allocations: 8 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB 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.0003176/0.1295, allocations: 0.6202 MB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.985e-05/0.1296, allocations: 4 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1296, allocations: 0 / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.1296, allocations: 4 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.1297, allocations: 4.234 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.1299, allocations: 104.5 kB / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.1301, allocations: 0.6848 MB / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.135e-06/0.1301, allocations: 0 / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-06/0.1301, allocations: 7.438 kB / 0.6897 GB, free: 9.867 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1301, allocations: 0 / 0.6897 GB, free: 9.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7536/0.8838, allocations: 0.9699 MB / 0.6907 GB, free: 9.035 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.884, allocations: 218.2 kB / 0.6909 GB, free: 8.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.347, allocations: 2.391 kB / 0.6909 GB, free: 8.773 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)