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.00104/0.00104, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001046, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 278.8 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.9272/0.9272, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 102.7 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 86.99 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001745/0.1383, allocations: 0.5708 MB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.1388, allocations: 203.7 kB / 0.6811 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.1388, allocations: 0.7188 kB / 0.6811 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-06/0.1388, allocations: 0 / 0.6811 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-06/0.1388, allocations: 0.5 kB / 0.6811 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1392, allocations: 57.73 kB / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.014e-05/0.1392, allocations: 0 / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.1393, allocations: 7.984 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.071e-05/0.1393, allocations: 0 / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.1393, allocations: 0 / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.1393, allocations: 0 / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1395, allocations: 67.88 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-06/0.1395, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.1395, allocations: 7.875 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1396, allocations: 35.94 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1396, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1396, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1396, allocations: 0 / 0.6812 GB, free: 15.64 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.0002493/0.1399, allocations: 323.6 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1399, allocations: 8.031 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.14, allocations: 34.75 kB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.766e-05/0.14, allocations: 0.9375 kB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.283e-05/0.1401, allocations: 164.4 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1401, allocations: 4.375 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1401, allocations: 384 / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.283e-05/0.1402, allocations: 34.2 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1402, allocations: 3.938 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-06/0.1402, allocations: 0 / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1402, allocations: 0 / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.1402, allocations: 4 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.1403, allocations: 145.7 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.1404, allocations: 22.66 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1404, allocations: 12.8 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/0.1411, allocations: 457.5 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1411, allocations: 30.56 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1411, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.1412, allocations: 41.64 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1413, allocations: 51.41 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.395e-05/0.1413, allocations: 89.86 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1413, allocations: 25.7 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.1414, allocations: 80.27 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1414, allocations: 8.219 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.1414, allocations: 13.72 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.1415, allocations: 314.8 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.1415, allocations: 3.938 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.1415, allocations: 4 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.1416, allocations: 8.859 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1416, allocations: 0 / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.031e-05/0.1416, allocations: 33.77 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1417, allocations: 9.719 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1417, allocations: 3.938 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1417, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.1417, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1417, allocations: 3.984 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.1417, allocations: 3.938 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1418, allocations: 7.938 kB / 0.6831 GB, free: 13.41 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.512e-05/0.1418, allocations: 110.4 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1418, allocations: 7.938 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1419, allocations: 44.77 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1419, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1419, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1419, allocations: 3.984 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/0.142, allocations: 145.7 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.142, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.142, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1421, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1421, allocations: 3.938 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1421, allocations: 8.031 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1421, allocations: 0 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.1421, allocations: 61.06 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1422, allocations: 77.11 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1422, allocations: 11.92 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.1422, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1422, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1422, allocations: 4.031 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.1423, allocations: 75.28 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1423, allocations: 0 / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001965/0.1425, allocations: 19.92 kB / 0.6836 GB, free: 12.74 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.0003736/0.1428, allocations: 0.6163 MB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.921e-05/0.1429, allocations: 8 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1429, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-06/0.1429, allocations: 4 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.143, allocations: 0 / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.1433, allocations: 110.8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1435, allocations: 0.669 MB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.248e-05/0.1435, allocations: 4 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.1436, allocations: 7.438 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1436, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.2482, allocations: 1.133 MB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.592, allocations: 14 kB / 0.6861 GB, free: 10.17 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)