Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",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.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 197 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 291 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 101.7 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1406, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001731/0.1423, allocations: 0.5642 MB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004347/0.1428, allocations: 189.8 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1428, allocations: 0 / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.1429, allocations: 0 / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.1429, allocations: 0 / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1433, allocations: 61.88 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.1433, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1434, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1434, allocations: 4 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.1434, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1434, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1436, allocations: 64.48 kB / 0.6812 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.1437, allocations: 3.938 kB / 0.6812 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.1437, allocations: 5.656 kB / 0.6812 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1438, allocations: 31.95 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1438, allocations: 7.984 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1438, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1439, allocations: 0 / 0.6812 GB, free: 15.68 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.0003496/0.1442, allocations: 313 kB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1443, allocations: 8.031 kB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.1443, allocations: 39.56 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1443, allocations: 0.9375 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1445, allocations: 165.1 kB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1445, allocations: 384 / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.1445, allocations: 1 kB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1446, allocations: 35.58 kB / 0.6817 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1446, allocations: 3.938 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1446, allocations: 3.984 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1447, allocations: 0 / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.1447, allocations: 4 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1448, allocations: 145.7 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.1449, allocations: 22.55 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1449, allocations: 4.859 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007435/0.1457, allocations: 461.5 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1457, allocations: 30.56 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1457, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.1458, allocations: 45.56 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1459, allocations: 51.41 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.368e-05/0.1459, allocations: 89.86 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1459, allocations: 29.7 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.146, allocations: 84.27 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.146, allocations: 4.219 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.146, allocations: 9.719 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.1461, allocations: 310.8 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.1461, allocations: 4 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.1461, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.1462, allocations: 16.84 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1462, allocations: 4.062 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.176e-05/0.1462, allocations: 33.64 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1462, allocations: 4 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1462, allocations: 3.938 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1463, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.1463, allocations: 4 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1463, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.1463, allocations: 7.875 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1464, allocations: 0 / 0.6831 GB, free: 13.45 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 6.356e-05/0.1464, allocations: 118.5 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.1464, allocations: 3.906 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.1465, allocations: 40.77 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1465, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1465, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1465, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.561e-05/0.1466, allocations: 145.7 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1466, allocations: 0 / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.1467, allocations: 11.94 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1467, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1467, allocations: 7.969 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1467, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1467, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.253e-05/0.1467, allocations: 61.12 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.1468, allocations: 77.11 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1468, allocations: 3.938 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.1468, allocations: 0 / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.1468, allocations: 4.031 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1468, allocations: 4 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.1469, allocations: 75.28 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1469, allocations: 0 / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1471, allocations: 11.94 kB / 0.6836 GB, free: 12.8 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.0004249/0.1475, allocations: 0.6241 MB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.335e-05/0.1476, allocations: 4 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1476, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.1476, allocations: 4 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1477, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.148, allocations: 118.8 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1483, allocations: 0.669 MB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.1483, allocations: 0 / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.1483, allocations: 7.438 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1483, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/0.3337, allocations: 1.128 MB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.723, allocations: 16.22 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)