Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8074/0.8074, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 93.61 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 282 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.973e-05/5.018e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5414, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.6732, allocations: 108.8 MB / 0.8706 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.6735, allocations: 71.95 kB / 0.8707 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004736/0.6783, allocations: 1.562 MB / 0.8722 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.093e-06/0.6783, allocations: 0 / 0.8722 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.6783, allocations: 4 kB / 0.8722 GB, free: 14.12 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004334/0.6788, allocations: 355.7 kB / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6788, allocations: 8.031 kB / 0.8725 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.6789, allocations: 30.56 kB / 0.8726 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.6789, allocations: 7.984 kB / 0.8726 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.6791, allocations: 167 kB / 0.8727 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.6791, allocations: 15.83 kB / 0.8727 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.6791, allocations: 8 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.6792, allocations: 33.69 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.6792, allocations: 0 / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6792, allocations: 4 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.6793, allocations: 0 / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.6793, allocations: 8 kB / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.6798, allocations: 272.8 kB / 0.8731 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.6798, allocations: 26.56 kB / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.6799, allocations: 14.92 kB / 0.8731 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.6805, allocations: 449.5 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6805, allocations: 30.56 kB / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 6.983e-06/0.6806, allocations: 0 / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.6807, allocations: 41.7 kB / 0.8736 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6808, allocations: 55.34 kB / 0.8736 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.6809, allocations: 100.9 kB / 0.8737 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.6809, allocations: 25.7 kB / 0.8738 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.681, allocations: 84.17 kB / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.681, allocations: 7.906 kB / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.681, allocations: 0 / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6811, allocations: 318.8 kB / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.6811, allocations: 4 kB / 0.8742 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.6812, allocations: 4 kB / 0.8742 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.6812, allocations: 7.984 kB / 0.8742 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6812, allocations: 0 / 0.8742 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.958e-05/0.6813, allocations: 41.8 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6813, allocations: 8 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6813, allocations: 0 / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6813, allocations: 4 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.6814, allocations: 11.98 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6815, allocations: 0 / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.6815, allocations: 7.984 kB / 0.8742 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.6815, allocations: 3.938 kB / 0.8743 GB, free: 11.7 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.6816, allocations: 112.9 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.6816, allocations: 3.906 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.6817, allocations: 48.81 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6818, allocations: 4 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6818, allocations: 0 / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.6818, allocations: 0 / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.6819, allocations: 157.6 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.682, allocations: 4 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.682, allocations: 16.02 kB / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.682, allocations: 3.938 kB / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6821, allocations: 0 / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6821, allocations: 0 / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6821, allocations: 4 kB / 0.8746 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.6822, allocations: 135.5 kB / 0.8747 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.6823, allocations: 85.25 kB / 0.8748 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.6823, allocations: 0 / 0.8748 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.6824, allocations: 16 kB / 0.8748 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.6824, allocations: 11.94 kB / 0.8748 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.6824, allocations: 0 / 0.8748 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.6825, allocations: 79.28 kB / 0.8749 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6825, allocations: 0 / 0.8749 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002254/0.6827, allocations: 27.92 kB / 0.8749 GB, free: 10.91 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005786/0.6833, allocations: 0.7084 MB / 0.8756 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.6834, allocations: 16.03 kB / 0.8756 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6834, allocations: 0 / 0.8756 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.6834, allocations: 12 kB / 0.8756 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.6836, allocations: 2.016 kB / 0.8756 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.684, allocations: 110.5 kB / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6843, allocations: 0.677 MB / 0.8764 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.6843, allocations: 3.906 kB / 0.8764 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.6843, allocations: 15.55 kB / 0.8764 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6843, allocations: 4 kB / 0.8764 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.6968, allocations: 1.234 MB / 0.8776 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.6971, allocations: 151.6 kB / 0.8778 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.433, allocations: 0 / 0.8778 GB, free: 7.953 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)