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.005516/0.005516, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001203/0.001203, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.029/1.029, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.5951 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4676, allocations: 82.02 MB / 0.6752 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002539/0.4702, allocations: 1.428 MB / 0.6766 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.4708, allocations: 255.1 kB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.4709, allocations: 0 / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.4709, allocations: 5.281 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.471, allocations: 3.984 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.4715, allocations: 63 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.4715, allocations: 24.64 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.4716, allocations: 6.656 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.4717, allocations: 11.84 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.4717, allocations: 10.34 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4718, allocations: 2.094 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.4719, allocations: 65.06 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.4719, allocations: 7.938 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.472, allocations: 2.125 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.4721, allocations: 60.16 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4721, allocations: 1.25 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4722, allocations: 0 / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.4722, allocations: 4 kB / 0.6771 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.0004634/0.4726, allocations: 346.2 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4727, allocations: 9.438 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.4727, allocations: 30.75 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.4728, allocations: 3.344 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4729, allocations: 165.6 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.4729, allocations: 384 / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4729, allocations: 1.5 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4731, allocations: 54.67 kB / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4731, allocations: 3.938 kB / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.4731, allocations: 0 / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4731, allocations: 1.125 kB / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.4733, allocations: 42.12 kB / 0.6777 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.4736, allocations: 253.2 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4737, allocations: 50.78 kB / 0.678 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.4738, allocations: 22.06 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007211/0.4746, allocations: 463.2 kB / 0.6784 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4746, allocations: 31.75 kB / 0.6785 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4746, allocations: 0 / 0.6785 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.475, allocations: 88.95 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.475, allocations: 51.41 kB / 0.6786 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.4751, allocations: 103.4 kB / 0.6787 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4751, allocations: 29.7 kB / 0.6787 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4752, allocations: 81.55 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4752, allocations: 5.281 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4752, allocations: 11.19 kB / 0.6788 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4754, allocations: 316.2 kB / 0.6791 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.4754, allocations: 17.12 kB / 0.6791 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.4755, allocations: 21.3 kB / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4757, allocations: 35.02 kB / 0.6792 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4757, allocations: 5.188 kB / 0.6792 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.4759, allocations: 67.81 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4759, allocations: 5.062 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4759, allocations: 96 / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4759, allocations: 5.406 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.476, allocations: 10.14 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.476, allocations: 0 / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.4761, allocations: 3.281 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4761, allocations: 5.016 kB / 0.6793 GB, free: 13.31 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 6.635e-05/0.4762, allocations: 116.1 kB / 0.6794 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.4762, allocations: 1.312 kB / 0.6794 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.4764, allocations: 69.84 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4764, allocations: 1.125 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4765, allocations: 3.938 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4765, allocations: 0 / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.4766, allocations: 166.1 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4766, allocations: 1.031 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.4767, allocations: 5.375 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4767, allocations: 4.906 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4767, allocations: 4 kB / 0.6796 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4767, allocations: 5.594 kB / 0.6797 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4767, allocations: 3.984 kB / 0.6797 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.477, allocations: 158.5 kB / 0.6798 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.477, allocations: 82.09 kB / 0.6799 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.477, allocations: 1.719 kB / 0.6799 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.4771, allocations: 6.469 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4771, allocations: 9.359 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4772, allocations: 9.125 kB / 0.6799 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.4772, allocations: 77.94 kB / 0.68 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.673e-06/0.4772, allocations: 1.25 kB / 0.68 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002404/0.4775, allocations: 16.56 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.0006047/0.4781, allocations: 0.713 MB / 0.6807 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.4783, allocations: 37.53 kB / 0.6807 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4783, allocations: 0 / 0.6807 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.4784, allocations: 27.41 kB / 0.6808 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.0002247/0.4786, allocations: 4.156 kB / 0.6808 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.479, allocations: 140.8 kB / 0.6809 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4793, allocations: 0.6811 MB / 0.6816 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.4793, allocations: 5.406 kB / 0.6816 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4793, allocations: 8.688 kB / 0.6816 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.4793, allocations: 0 / 0.6816 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.5023, allocations: 1.527 MB / 0.6831 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.994, allocations: 15.58 kB / 0.6831 GB, free: 10.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)