Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.9112/0.9112, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 172.9 kB / 182.2 MB, free: 9.453 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.638/1.638, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009013/0.0009012, allocations: 95.42 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002009, allocations: 280.6 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.949e-05, allocations: 8 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6016, allocations: 82.78 MB / 0.7575 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.7689, allocations: 108.5 MB / 0.8634 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.7693, allocations: 71.97 kB / 0.8634 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00777/0.7771, allocations: 2.463 MB / 0.8658 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7771, allocations: 0 / 0.8658 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7771, allocations: 0 / 0.8658 GB, free: 0.8398 MB / 0.5261 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.0004224/0.7776, allocations: 362.4 kB / 0.8662 GB, free: 452 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7776, allocations: 8.031 kB / 0.8662 GB, free: 444 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.7777, allocations: 8 kB / 0.8662 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7778, allocations: 171 kB / 0.8664 GB, free: 224 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.7779, allocations: 7.953 kB / 0.8664 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.7779, allocations: 4 kB / 0.8664 GB, free: 212 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.371e-05/0.778, allocations: 11.94 kB / 0.8664 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.939e-05/0.778, allocations: 33.69 kB / 0.8664 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.778, allocations: 0 / 0.8664 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.7781, allocations: 0 / 0.8664 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7781, allocations: 4 kB / 0.8664 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.7785, allocations: 241.5 kB / 0.8667 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.7786, allocations: 26.58 kB / 0.8667 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.7786, allocations: 12.92 kB / 0.8667 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/0.7793, allocations: 453.5 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7793, allocations: 38.5 kB / 0.8672 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7793, allocations: 3.938 kB / 0.8672 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.7796, allocations: 37.7 kB / 0.8672 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7796, allocations: 55.44 kB / 0.8673 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.7797, allocations: 96.98 kB / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.7797, allocations: 25.7 kB / 0.8674 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.7798, allocations: 88.02 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.7798, allocations: 7.906 kB / 0.8675 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.7798, allocations: 0 / 0.8675 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.78, allocations: 314.8 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.78, allocations: 4 kB / 0.8678 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.7801, allocations: 8 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.7801, allocations: 4 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7801, allocations: 0 / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.365e-05/0.7802, allocations: 49.58 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7802, allocations: 9.25 kB / 0.8678 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7802, allocations: 0 / 0.8678 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7803, allocations: 0 / 0.8678 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7804, allocations: 11.98 kB / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7804, allocations: 0 / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.7804, allocations: 12.09 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.7805, allocations: 0 / 0.8679 GB, free: 14.48 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 9.141e-05/0.7806, allocations: 105 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.051e-05/0.7807, allocations: 49.56 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.7807, allocations: 0 / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.7808, allocations: 51.88 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7808, allocations: 64 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7808, allocations: 4 kB / 0.8681 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7808, allocations: 0 / 0.8681 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.781, allocations: 134.2 kB / 0.8682 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.781, allocations: 7.938 kB / 0.8682 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.7811, allocations: 12 kB / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7811, allocations: 0 / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7811, allocations: 0 / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7811, allocations: 0 / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7811, allocations: 0 / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.7813, allocations: 143.5 kB / 0.8683 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.7813, allocations: 81.06 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.7813, allocations: 0 / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.7814, allocations: 15.98 kB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.7815, allocations: 0 / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.7815, allocations: 192 / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.7815, allocations: 99.22 kB / 0.8685 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7816, allocations: 3.938 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003076/0.7819, allocations: 47.84 kB / 0.8686 GB, free: 13.66 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.0006325/0.7825, allocations: 0.7241 MB / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.765e-05/0.7826, allocations: 15.94 kB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7826, allocations: 0 / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.7826, allocations: 12.06 kB / 0.8693 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.7828, allocations: 7.938 kB / 0.8693 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.7832, allocations: 105.6 kB / 0.8694 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.7835, allocations: 0.6768 MB / 0.8701 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.7835, allocations: 3.984 kB / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.7836, allocations: 11.44 kB / 0.8701 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.7836, allocations: 4 kB / 0.8701 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.8127, allocations: 1.15 MB / 0.8712 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.813, allocations: 137.1 kB / 0.8714 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.667, allocations: 1.375 kB / 0.8714 GB, free: 10.68 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)