Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.00537/0.00537, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001375/0.001375, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 295 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.214/1.214, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004044/0.004044, allocations: 103.8 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4903, allocations: 89.13 MB / 0.7814 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002231/0.4926, allocations: 1.425 MB / 0.7827 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.4932, allocations: 252.1 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.4932, allocations: 0 / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.4932, allocations: 0 / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.4933, allocations: 5.406 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.4937, allocations: 61.69 kB / 0.783 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.4937, allocations: 16.2 kB / 0.7831 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.4938, allocations: 6.906 kB / 0.7831 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.4939, allocations: 7.062 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.4939, allocations: 12.64 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.4939, allocations: 5.312 kB / 0.7831 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.4941, allocations: 66.77 kB / 0.7832 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.4941, allocations: 5.656 kB / 0.7832 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.4942, allocations: 5.375 kB / 0.7832 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.4943, allocations: 58.02 kB / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4943, allocations: 0 / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4943, allocations: 0 / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4943, allocations: 5.109 kB / 0.7832 GB, free: 15.64 MB / 0.5606 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.000504/0.4948, allocations: 347.2 kB / 0.7836 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4949, allocations: 10.09 kB / 0.7836 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.4949, allocations: 38.62 kB / 0.7836 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.495, allocations: 2.594 kB / 0.7836 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4951, allocations: 169.6 kB / 0.7838 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4951, allocations: 1.562 kB / 0.7838 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4952, allocations: 5.5 kB / 0.7838 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4953, allocations: 49.73 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4954, allocations: 3.938 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4954, allocations: 0 / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4954, allocations: 5.031 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4956, allocations: 35.08 kB / 0.7839 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4959, allocations: 251.7 kB / 0.7841 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.496, allocations: 40.23 kB / 0.7841 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.4961, allocations: 26.22 kB / 0.7842 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.4968, allocations: 451.3 kB / 0.7846 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4969, allocations: 35.48 kB / 0.7846 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4969, allocations: 0 / 0.7846 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000393/0.4973, allocations: 81.19 kB / 0.7847 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4973, allocations: 51.41 kB / 0.7848 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.4974, allocations: 103.3 kB / 0.7849 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4974, allocations: 25.7 kB / 0.7849 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.4975, allocations: 85.33 kB / 0.785 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.4975, allocations: 5.359 kB / 0.785 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.4976, allocations: 20.36 kB / 0.785 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4977, allocations: 310.8 kB / 0.7853 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.4978, allocations: 17.92 kB / 0.7853 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.4979, allocations: 13.42 kB / 0.7853 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.498, allocations: 47.69 kB / 0.7854 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4981, allocations: 3.938 kB / 0.7854 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.4983, allocations: 67.94 kB / 0.7854 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4983, allocations: 5.594 kB / 0.7854 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4983, allocations: 3.984 kB / 0.7854 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4983, allocations: 1.281 kB / 0.7854 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.4984, allocations: 5.125 kB / 0.7854 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4984, allocations: 1.562 kB / 0.7854 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.4985, allocations: 10.64 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4985, allocations: 1.375 kB / 0.7855 GB, free: 13.27 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.4986, allocations: 111 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.4986, allocations: 1.531 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4988, allocations: 73.75 kB / 0.7856 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4988, allocations: 1.094 kB / 0.7856 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4989, allocations: 11.95 kB / 0.7856 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4989, allocations: 1.594 kB / 0.7856 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.499, allocations: 161.3 kB / 0.7858 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.499, allocations: 0 / 0.7858 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.4991, allocations: 14.22 kB / 0.7858 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.4991, allocations: 1.406 kB / 0.7858 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4991, allocations: 0 / 0.7858 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4991, allocations: 0 / 0.7858 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4991, allocations: 1.125 kB / 0.7858 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.4994, allocations: 167 kB / 0.786 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.4995, allocations: 86.47 kB / 0.7861 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4995, allocations: 3.938 kB / 0.7861 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.4996, allocations: 8.109 kB / 0.7861 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.4996, allocations: 1.469 kB / 0.7861 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4996, allocations: 0 / 0.7861 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.4997, allocations: 86.38 kB / 0.7862 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4997, allocations: 1.094 kB / 0.7862 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002374/0.4999, allocations: 20.39 kB / 0.7862 GB, free: 12.52 MB / 0.5606 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 () * Number of clocked 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 (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.0006579/0.5006, allocations: 0.7061 MB / 0.7869 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5008, allocations: 41.58 kB / 0.7869 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5008, allocations: 0 / 0.7869 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.5009, allocations: 19.83 kB / 0.7869 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.5011, allocations: 5.438 kB / 0.7869 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.5016, allocations: 135.4 kB / 0.7871 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5019, allocations: 0.673 MB / 0.7877 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.5019, allocations: 5.609 kB / 0.7877 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.5019, allocations: 16.55 kB / 0.7877 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.502, allocations: 0 / 0.7877 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.5259, allocations: 1.533 MB / 0.7892 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.187, allocations: 16.44 kB / 0.7893 GB, free: 10.07 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)