Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.004923/0.004923, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001188/0.001188, allocations: 197 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.139/1.139, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002075, allocations: 63.91 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5112, allocations: 82.02 MB / 0.6752 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002938/0.5142, allocations: 1.424 MB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.515, allocations: 264.7 kB / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.515, allocations: 0 / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.5151, allocations: 0 / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.5151, allocations: 5.344 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.5156, allocations: 62.69 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.5157, allocations: 19.83 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.5158, allocations: 15.47 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.5158, allocations: 11.14 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.5159, allocations: 10.92 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5159, allocations: 2.812 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.5161, allocations: 60.31 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.5161, allocations: 7.922 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.5162, allocations: 6.219 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.5164, allocations: 59.78 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5164, allocations: 0 / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5164, allocations: 1.25 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5164, allocations: 0 / 0.6771 GB, free: 15.62 MB / 0.5137 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.0005889/0.517, allocations: 349.5 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.517, allocations: 9.688 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.5171, allocations: 34.73 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.5171, allocations: 2.031 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5173, allocations: 166.6 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5173, allocations: 1.562 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5173, allocations: 1.406 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.5176, allocations: 53.55 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5176, allocations: 3.938 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5176, allocations: 0 / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5176, allocations: 5.125 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.5179, allocations: 38.52 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.5183, allocations: 245 kB / 0.6779 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5184, allocations: 42.12 kB / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.5186, allocations: 27.11 kB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.5195, allocations: 454.3 kB / 0.6784 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.5197, allocations: 39.59 kB / 0.6785 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 3.547e-06/0.5197, allocations: 1.094 kB / 0.6785 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004663/0.5201, allocations: 80.58 kB / 0.6785 GB, free: 14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5202, allocations: 51.41 kB / 0.6786 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.5204, allocations: 99.36 kB / 0.6787 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5204, allocations: 29.83 kB / 0.6787 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.5205, allocations: 85.61 kB / 0.6788 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.5205, allocations: 9.25 kB / 0.6788 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.5205, allocations: 10.97 kB / 0.6788 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5207, allocations: 312.3 kB / 0.6791 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5208, allocations: 16.67 kB / 0.6791 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.5209, allocations: 17.48 kB / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.5211, allocations: 47.69 kB / 0.6792 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5211, allocations: 3.938 kB / 0.6792 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002606/0.5214, allocations: 64.53 kB / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5214, allocations: 11.22 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5214, allocations: 0 / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5215, allocations: 5.281 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.5216, allocations: 5.531 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5216, allocations: 1.125 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.5217, allocations: 11.47 kB / 0.6793 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.5217, allocations: 0 / 0.6793 GB, free: 13.26 MB / 0.5137 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.936e-05/0.5218, allocations: 112.1 kB / 0.6794 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.5218, allocations: 1.344 kB / 0.6794 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.5221, allocations: 86.53 kB / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5222, allocations: 0 / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5222, allocations: 1.031 kB / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5222, allocations: 0 / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.5224, allocations: 162.1 kB / 0.6796 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5224, allocations: 0 / 0.6796 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.5225, allocations: 14.55 kB / 0.6797 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5225, allocations: 0 / 0.6797 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5225, allocations: 1.281 kB / 0.6797 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5225, allocations: 4.031 kB / 0.6797 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5226, allocations: 0 / 0.6797 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.5229, allocations: 167.1 kB / 0.6798 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.5229, allocations: 78.42 kB / 0.6799 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.523, allocations: 1.469 kB / 0.6799 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5231, allocations: 6.359 kB / 0.6799 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.5231, allocations: 6.25 kB / 0.6799 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5232, allocations: 0 / 0.6799 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.5232, allocations: 86.58 kB / 0.68 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5232, allocations: 0.9062 kB / 0.68 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000407/0.5236, allocations: 17.53 kB / 0.68 GB, free: 12.52 MB / 0.5137 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.0009298/0.5246, allocations: 0.7171 MB / 0.6807 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.5249, allocations: 36.31 kB / 0.6807 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5249, allocations: 5.188 kB / 0.6807 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.525, allocations: 18.77 kB / 0.6808 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.5254, allocations: 6.766 kB / 0.6808 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.526, allocations: 141.9 kB / 0.6809 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.5265, allocations: 0.6776 MB / 0.6816 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.5265, allocations: 3.984 kB / 0.6816 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.5266, allocations: 21.69 kB / 0.6816 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.5266, allocations: 0 / 0.6816 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.5497, allocations: 1.517 MB / 0.6831 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.124, allocations: 10.95 kB / 0.6831 GB, free: 10.06 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)