Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.004639/0.004639, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001088/0.001088, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 0.9821/0.9821, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 64.14 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4553, allocations: 82.03 MB / 0.6752 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.00162/0.457, allocations: 0.5823 MB / 0.6758 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004576/0.4575, allocations: 198.8 kB / 0.676 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.4575, allocations: 0 / 0.676 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.4575, allocations: 0 / 0.676 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.4576, allocations: 1.312 kB / 0.676 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.4579, allocations: 56.95 kB / 0.676 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.458, allocations: 5.172 kB / 0.676 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.458, allocations: 10 kB / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.4581, allocations: 0 / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.1e-05/0.4581, allocations: 1.25 kB / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.4581, allocations: 0 / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.4583, allocations: 58.62 kB / 0.6761 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-06/0.4583, allocations: 0 / 0.6761 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.4583, allocations: 9.109 kB / 0.6761 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.4584, allocations: 28.02 kB / 0.6761 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4584, allocations: 1.406 kB / 0.6761 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4584, allocations: 4 kB / 0.6761 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.4584, allocations: 3.938 kB / 0.6761 GB, free: 0.5391 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002294/0.4587, allocations: 317.5 kB / 0.6764 GB, free: 192 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4587, allocations: 13.41 kB / 0.6765 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.4588, allocations: 36 kB / 0.6765 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.4588, allocations: 4.922 kB / 0.6765 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.4589, allocations: 160.4 kB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4589, allocations: 1.5 kB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.4589, allocations: 384 / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/0.459, allocations: 36.67 kB / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.459, allocations: 3.938 kB / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.459, allocations: 0 / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.459, allocations: 1.031 kB / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.459, allocations: 1.062 kB / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.4592, allocations: 150.6 kB / 0.6768 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.4592, allocations: 16.67 kB / 0.6768 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.4592, allocations: 9.781 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/0.4599, allocations: 458.9 kB / 0.6773 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.46, allocations: 39.69 kB / 0.6773 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.46, allocations: 0 / 0.6773 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.4601, allocations: 39.02 kB / 0.6774 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4602, allocations: 51.41 kB / 0.6774 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.4602, allocations: 89.86 kB / 0.6775 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4602, allocations: 27.14 kB / 0.6775 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.4603, allocations: 80.14 kB / 0.6776 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4603, allocations: 6.281 kB / 0.6776 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4603, allocations: 15.23 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4604, allocations: 316.2 kB / 0.6779 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.4605, allocations: 5.594 kB / 0.6779 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.4605, allocations: 0 / 0.6779 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.4605, allocations: 11.36 kB / 0.6779 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4605, allocations: 0.9375 kB / 0.6779 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.557e-05/0.4606, allocations: 30.42 kB / 0.678 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4606, allocations: 5.812 kB / 0.678 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4606, allocations: 3.938 kB / 0.678 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4606, allocations: 3.984 kB / 0.678 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.4607, allocations: 6.406 kB / 0.678 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4607, allocations: 4.094 kB / 0.678 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.4607, allocations: 1.219 kB / 0.678 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4607, allocations: 3.938 kB / 0.678 GB, free: 14.41 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 (1): * Single equations (assignments): 1 * 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 6.534e-05/0.4608, allocations: 111 kB / 0.6781 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.4608, allocations: 1.156 kB / 0.6781 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.4609, allocations: 44.34 kB / 0.6782 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4609, allocations: 5.125 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4609, allocations: 0 / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4609, allocations: 4.031 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.328e-05/0.461, allocations: 146.8 kB / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.461, allocations: 1.219 kB / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.461, allocations: 1.25 kB / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.461, allocations: 0 / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.461, allocations: 5.094 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.461, allocations: 0 / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.461, allocations: 5.297 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.518e-05/0.4611, allocations: 62.33 kB / 0.6784 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.4612, allocations: 77.11 kB / 0.6784 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4612, allocations: 5.156 kB / 0.6785 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.4612, allocations: 0 / 0.6785 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.4612, allocations: 5.203 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.4612, allocations: 0 / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.4612, allocations: 76.47 kB / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4613, allocations: 0 / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002062/0.4615, allocations: 18.53 kB / 0.6785 GB, free: 13.78 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 (1): * Single equations (assignments): 1 * 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.0004408/0.4619, allocations: 0.6098 MB / 0.6791 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.462, allocations: 10.56 kB / 0.6792 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.462, allocations: 1.25 kB / 0.6792 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.462, allocations: 1.188 kB / 0.6792 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.4622, allocations: 8.234 kB / 0.6792 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.4625, allocations: 114.5 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4627, allocations: 0.6701 MB / 0.6799 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.4627, allocations: 0.9375 kB / 0.6799 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.4627, allocations: 12.58 kB / 0.6799 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.4627, allocations: 128 / 0.6799 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.4802, allocations: 1.16 MB / 0.6811 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.893, allocations: 10.67 kB / 0.6811 GB, free: 11.63 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)