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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001098/0.001098, allocations: 192.8 kB / 16.14 MB, free: 6.715 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.14/1.14, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001902/0.001902, allocations: 293.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8357/0.8357, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 99.27 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 86.97 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.00154/0.1266, allocations: 0.6349 MB / 0.6802 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.127, allocations: 208.8 kB / 0.6804 GB, free: 232 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-06/0.127, allocations: 3.938 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.127, allocations: 0.6562 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.127, allocations: 0.875 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1273, allocations: 43.89 kB / 0.6804 GB, free: 184 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.742e-05/0.1273, allocations: 4.719 kB / 0.6804 GB, free: 180 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.989e-05/0.1274, allocations: 3.938 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.034e-05/0.1274, allocations: 0.625 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.42e-05/0.1274, allocations: 0 / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.1274, allocations: 1.5 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1276, allocations: 67.88 kB / 0.6805 GB, free: 108 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.1276, allocations: 3.984 kB / 0.6805 GB, free: 104 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.1276, allocations: 0.5625 kB / 0.6805 GB, free: 104 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.1277, allocations: 31.95 kB / 0.6805 GB, free: 72 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1277, allocations: 8 kB / 0.6805 GB, free: 64 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1277, allocations: 0 / 0.6805 GB, free: 64 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1277, allocations: 0 / 0.6805 GB, free: 64 kB / 478.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.0002377/0.128, allocations: 315.6 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.128, allocations: 8.031 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.1281, allocations: 38.75 kB / 0.6809 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.769e-05/0.1281, allocations: 0.9375 kB / 0.6809 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.1282, allocations: 160.4 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.1282, allocations: 4.359 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1282, allocations: 4.375 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/0.1283, allocations: 34.14 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1283, allocations: 7.938 kB / 0.6811 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.1283, allocations: 0 / 0.6811 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1283, allocations: 3.984 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.1283, allocations: 0 / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.1284, allocations: 145.7 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.021e-05/0.1284, allocations: 18.61 kB / 0.6812 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.1285, allocations: 20.72 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.1291, allocations: 453.5 kB / 0.6817 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1291, allocations: 42.55 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1292, allocations: 0 / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.879e-05/0.1293, allocations: 37.64 kB / 0.6818 GB, free: 14.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.1293, allocations: 51.41 kB / 0.6818 GB, free: 14.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.98e-05/0.1293, allocations: 89.86 kB / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1293, allocations: 25.7 kB / 0.6819 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.1294, allocations: 84.12 kB / 0.682 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1294, allocations: 288 / 0.682 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1294, allocations: 17.72 kB / 0.682 GB, free: 14.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.1295, allocations: 315 kB / 0.6823 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.1295, allocations: 3.938 kB / 0.6823 GB, free: 13.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.1295, allocations: 7.984 kB / 0.6823 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.1296, allocations: 4.859 kB / 0.6823 GB, free: 13.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1296, allocations: 0 / 0.6823 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.423e-05/0.1296, allocations: 33.7 kB / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.537e-06/0.1296, allocations: 4 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1296, allocations: 7.938 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.1296, allocations: 96 / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-05/0.1297, allocations: 8 kB / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1297, allocations: 0 / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.1297, allocations: 3.938 kB / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1297, allocations: 0 / 0.6824 GB, free: 13.82 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 5.356e-05/0.1298, allocations: 118.4 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.1298, allocations: 0 / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1299, allocations: 44.66 kB / 0.6826 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1299, allocations: 4 kB / 0.6826 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1299, allocations: 4.031 kB / 0.6826 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1299, allocations: 3.938 kB / 0.6826 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.928e-05/0.1299, allocations: 145.7 kB / 0.6827 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.13, allocations: 0 / 0.6827 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.13, allocations: 4 kB / 0.6827 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.13, allocations: 0 / 0.6827 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.13, allocations: 7.938 kB / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.13, allocations: 0 / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.13, allocations: 0 / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.378e-05/0.1301, allocations: 65.06 kB / 0.6828 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.1301, allocations: 77.11 kB / 0.6828 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.1301, allocations: 3.938 kB / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.1301, allocations: 0 / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.1301, allocations: 0 / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1301, allocations: 3.938 kB / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.054e-05/0.1302, allocations: 79.28 kB / 0.6829 GB, free: 13.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1302, allocations: 0 / 0.6829 GB, free: 13.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000192/0.1304, allocations: 12 kB / 0.6829 GB, free: 13.16 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.0003444/0.1307, allocations: 0.6202 MB / 0.6836 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.664e-05/0.1308, allocations: 8.031 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1308, allocations: 0 / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.1308, allocations: 4 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1309, allocations: 1.719 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.1311, allocations: 112.3 kB / 0.6837 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.1313, allocations: 0.6731 MB / 0.6843 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.017e-06/0.1313, allocations: 0 / 0.6843 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.1314, allocations: 7.438 kB / 0.6843 GB, free: 11.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 4.125 kB / 0.6843 GB, free: 11.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.046/2.178, allocations: 1.02 MB / 0.6853 GB, free: 10.73 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/2.178, allocations: 229.9 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/3.913, allocations: 0 / 0.6856 GB, free: 10.46 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)