Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001687/0.001687, allocations: 112.5 kB / 15.73 MB, free: 76 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.002202/0.002202, allocations: 190.7 kB / 16.66 MB, free: 6.582 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5214, allocations: 82.03 MB / 0.6752 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002218/0.5237, allocations: 1.416 MB / 0.6766 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.5242, allocations: 245.4 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.5243, allocations: 1.844 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.5243, allocations: 3.938 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.5244, allocations: 11.92 kB / 0.6768 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.5247, allocations: 54.05 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.5248, allocations: 21.02 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.5248, allocations: 7.25 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.5249, allocations: 6.375 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.5249, allocations: 14.94 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.5249, allocations: 2.469 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.5251, allocations: 63.84 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.5251, allocations: 0 / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.5251, allocations: 13.97 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.5253, allocations: 55.97 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5253, allocations: 0 / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5253, allocations: 0 / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.5253, allocations: 0.9375 kB / 0.677 GB, free: 15.68 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.0004155/0.5257, allocations: 350 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5258, allocations: 9.344 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.5258, allocations: 32.19 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.5258, allocations: 2.344 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5259, allocations: 181.5 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.526, allocations: 384 / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.526, allocations: 1.625 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5262, allocations: 50.27 kB / 0.6776 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5262, allocations: 7.938 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.5262, allocations: 0 / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5262, allocations: 1.062 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.5264, allocations: 38.11 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.5267, allocations: 253.4 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.5268, allocations: 42.11 kB / 0.678 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.5269, allocations: 23.28 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.5276, allocations: 455.1 kB / 0.6784 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5276, allocations: 35.67 kB / 0.6784 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5276, allocations: 1.219 kB / 0.6784 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.528, allocations: 79.59 kB / 0.6785 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.528, allocations: 52.56 kB / 0.6786 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.5281, allocations: 102.7 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5281, allocations: 25.7 kB / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.5281, allocations: 85.36 kB / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.5282, allocations: 5.203 kB / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5282, allocations: 16.02 kB / 0.6788 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5283, allocations: 311.9 kB / 0.6791 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.5284, allocations: 21.11 kB / 0.6791 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.5285, allocations: 13.3 kB / 0.6791 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5286, allocations: 43.84 kB / 0.6792 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5287, allocations: 3.938 kB / 0.6792 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.5289, allocations: 68.36 kB / 0.6792 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5289, allocations: 5.438 kB / 0.6792 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5289, allocations: 3.984 kB / 0.6792 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5289, allocations: 1.531 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.529, allocations: 5.469 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.529, allocations: 0 / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.5291, allocations: 12.03 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.5291, allocations: 1.312 kB / 0.6793 GB, free: 13.32 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 8.254e-05/0.5292, allocations: 115.2 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5292, allocations: 1.312 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.5294, allocations: 74.28 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5294, allocations: 0 / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5294, allocations: 5.203 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5294, allocations: 0 / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.5296, allocations: 158.2 kB / 0.6796 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5296, allocations: 0 / 0.6796 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.5297, allocations: 17.98 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5297, allocations: 1.219 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5297, allocations: 0 / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5297, allocations: 3.938 kB / 0.6796 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5297, allocations: 1.188 kB / 0.6796 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.53, allocations: 166.3 kB / 0.6798 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.53, allocations: 78.64 kB / 0.6799 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.5301, allocations: 1.219 kB / 0.6799 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.5301, allocations: 10.67 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.5302, allocations: 5.359 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5302, allocations: 1.281 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.5302, allocations: 87.12 kB / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5303, allocations: 0 / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002399/0.5305, allocations: 20.61 kB / 0.68 GB, free: 12.57 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.0006765/0.5312, allocations: 0.7176 MB / 0.6807 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.5314, allocations: 36.64 kB / 0.6807 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5314, allocations: 0.9688 kB / 0.6807 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.5315, allocations: 22.58 kB / 0.6807 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.5317, allocations: 3.969 kB / 0.6807 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.5322, allocations: 150 kB / 0.6809 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.5325, allocations: 0.6734 MB / 0.6815 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.5325, allocations: 1 kB / 0.6815 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.5326, allocations: 16.52 kB / 0.6816 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.5326, allocations: 1.156 kB / 0.6816 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.5507, allocations: 1.502 MB / 0.683 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.303, allocations: 17.91 kB / 0.683 GB, free: 10.13 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)