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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 193 kB / 16.13 MB, free: 6.66 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 286.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8515/0.8515, 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: 103.6 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 86.97 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001472/0.1194, allocations: 0.6357 MB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.1198, allocations: 202.3 kB / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-06/0.1199, allocations: 0 / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.1199, allocations: 0 / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.727e-06/0.1199, allocations: 0 / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1201, allocations: 39.89 kB / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.29e-05/0.1202, allocations: 0 / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.88e-05/0.1202, allocations: 2.156 kB / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-06/0.1202, allocations: 0 / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.403e-05/0.1202, allocations: 4 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-06/0.1202, allocations: 0 / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1204, allocations: 67.88 kB / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.1204, allocations: 4.594 kB / 0.6805 GB, free: 128 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.1204, allocations: 3.984 kB / 0.6805 GB, free: 124 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.1205, allocations: 32.77 kB / 0.6805 GB, free: 92 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1205, allocations: 8 kB / 0.6805 GB, free: 84 kB / 478.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1205, allocations: 0.5312 kB / 0.6805 GB, free: 84 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.1205, allocations: 0 / 0.6805 GB, free: 84 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.0002288/0.1208, allocations: 316.8 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1208, allocations: 8.031 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.44e-05/0.1208, allocations: 35.59 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.663e-05/0.1209, allocations: 0.9375 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.466e-05/0.1209, allocations: 164.4 kB / 0.681 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-06/0.1209, allocations: 384 / 0.681 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.121, allocations: 384 / 0.681 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.117e-05/0.121, allocations: 26.27 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.121, allocations: 7.938 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.121, allocations: 0 / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1211, allocations: 0 / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.1211, allocations: 7.922 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.928e-05/0.1212, allocations: 145.7 kB / 0.6812 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.1212, allocations: 22.61 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.1212, allocations: 4.859 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.1218, allocations: 461.5 kB / 0.6817 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1219, allocations: 34.56 kB / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1219, allocations: 0 / 0.6817 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.894e-05/0.122, allocations: 37.58 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.122, allocations: 51.41 kB / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.606e-05/0.122, allocations: 89.86 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.122, allocations: 33.64 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.114e-05/0.1221, allocations: 84.14 kB / 0.682 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.1221, allocations: 288 / 0.682 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.1221, allocations: 17.83 kB / 0.682 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.1222, allocations: 310.8 kB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.1222, allocations: 4 kB / 0.6823 GB, free: 13.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-06/0.1222, allocations: 4 kB / 0.6823 GB, free: 13.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.1222, allocations: 8.859 kB / 0.6823 GB, free: 13.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1222, allocations: 0 / 0.6823 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.523e-05/0.1223, allocations: 41.62 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.1223, allocations: 4 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1223, allocations: 8.031 kB / 0.6824 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1223, allocations: 3.984 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.906e-05/0.1224, allocations: 4 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1224, allocations: 0 / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.1224, allocations: 3.938 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.1224, allocations: 0 / 0.6824 GB, free: 13.86 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.736e-05/0.1225, allocations: 106.5 kB / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-06/0.1225, allocations: 4 kB / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.1225, allocations: 56.59 kB / 0.6825 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1225, allocations: 0 / 0.6825 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1225, allocations: 0 / 0.6825 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.1226, allocations: 0 / 0.6825 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.607e-05/0.1226, allocations: 141.7 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1226, allocations: 0 / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.1226, allocations: 4 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1227, allocations: 0 / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1227, allocations: 3.938 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1227, allocations: 0 / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1227, allocations: 7.969 kB / 0.6827 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.012e-05/0.1227, allocations: 61.17 kB / 0.6827 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.1228, allocations: 77.11 kB / 0.6828 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.1228, allocations: 3.938 kB / 0.6828 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.1228, allocations: 0 / 0.6828 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.1228, allocations: 7.922 kB / 0.6828 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1228, allocations: 4 kB / 0.6828 GB, free: 13.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.1228, allocations: 83.16 kB / 0.6829 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 4.031 kB / 0.6829 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001787/0.123, allocations: 12 kB / 0.6829 GB, free: 13.19 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.0003303/0.1234, allocations: 0.6164 MB / 0.6835 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.314e-05/0.1234, allocations: 0 / 0.6835 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1234, allocations: 4 kB / 0.6835 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.176e-06/0.1234, allocations: 3.938 kB / 0.6835 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.1235, allocations: 2.609 kB / 0.6835 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.1238, allocations: 116.4 kB / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.1239, allocations: 0.6692 MB / 0.6843 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.248e-06/0.124, allocations: 4.125 kB / 0.6843 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-06/0.124, allocations: 7.438 kB / 0.6843 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.124, allocations: 0 / 0.6843 GB, free: 11.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.18/1.304, allocations: 1.029 MB / 0.6853 GB, free: 10.76 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.304, allocations: 217 kB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.702, allocations: 0 / 0.6855 GB, free: 10.5 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)