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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001044/0.001044, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.9716/0.9716, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 71.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.17, allocations: 82.03 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002942/0.173, allocations: 1.486 MB / 0.5952 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.1736, allocations: 272.1 kB / 0.5954 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.1736, allocations: 0 / 0.5954 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.1736, allocations: 3.938 kB / 0.5954 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.1737, allocations: 0 / 0.5954 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.174, allocations: 47.88 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.174, allocations: 23.92 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.24e-05/0.1741, allocations: 0 / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.1742, allocations: 11.94 kB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.1742, allocations: 11.98 kB / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1742, allocations: 0 / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1744, allocations: 75.8 kB / 0.5956 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1744, allocations: 7.938 kB / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1744, allocations: 8 kB / 0.5956 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1746, allocations: 55.84 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1746, allocations: 0 / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1746, allocations: 0 / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1746, allocations: 0 / 0.5957 GB, free: 7.961 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004619/0.1751, allocations: 351.7 kB / 0.596 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1751, allocations: 8.031 kB / 0.596 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.1752, allocations: 34.75 kB / 0.596 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.1752, allocations: 0.9375 kB / 0.596 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1753, allocations: 168.3 kB / 0.5962 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1754, allocations: 384 / 0.5962 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1754, allocations: 4.375 kB / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1755, allocations: 50.23 kB / 0.5963 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1756, allocations: 7.938 kB / 0.5963 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1756, allocations: 3.984 kB / 0.5963 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1756, allocations: 0 / 0.5963 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.1758, allocations: 31.97 kB / 0.5963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1761, allocations: 260.8 kB / 0.5965 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1762, allocations: 38.5 kB / 0.5966 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.1763, allocations: 20.91 kB / 0.5966 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.177, allocations: 457.5 kB / 0.597 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.177, allocations: 38.56 kB / 0.5971 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.177, allocations: 0 / 0.5971 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.1773, allocations: 77.58 kB / 0.5972 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1774, allocations: 59.41 kB / 0.5972 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.1774, allocations: 97.84 kB / 0.5973 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1774, allocations: 25.7 kB / 0.5973 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1775, allocations: 88.27 kB / 0.5974 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1775, allocations: 7.906 kB / 0.5974 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.1775, allocations: 9.719 kB / 0.5974 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.1776, allocations: 318.8 kB / 0.5977 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1777, allocations: 15.98 kB / 0.5977 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1778, allocations: 15.98 kB / 0.5978 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.178, allocations: 40.89 kB / 0.5978 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.178, allocations: 3.938 kB / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.1782, allocations: 65.59 kB / 0.5979 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1782, allocations: 10.34 kB / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1782, allocations: 4 kB / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1782, allocations: 0 / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.1783, allocations: 12.02 kB / 0.5979 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1783, allocations: 7.938 kB / 0.5979 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1783, allocations: 3.984 kB / 0.5979 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1784, allocations: 4 kB / 0.5979 GB, free: 5.34 MB / 0.4981 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.434e-05/0.1784, allocations: 109.8 kB / 0.598 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1785, allocations: 4 kB / 0.598 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.1787, allocations: 76.72 kB / 0.5981 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1787, allocations: 0 / 0.5981 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1787, allocations: 0 / 0.5981 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1787, allocations: 0 / 0.5981 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1788, allocations: 169.4 kB / 0.5983 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1788, allocations: 0 / 0.5983 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.1789, allocations: 11.98 kB / 0.5983 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1789, allocations: 0 / 0.5983 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1789, allocations: 3.938 kB / 0.5983 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1789, allocations: 0 / 0.5983 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1789, allocations: 0 / 0.5983 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1792, allocations: 167.5 kB / 0.5984 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.1792, allocations: 81.11 kB / 0.5985 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1792, allocations: 0 / 0.5985 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1793, allocations: 7.984 kB / 0.5985 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1793, allocations: 0 / 0.5985 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1793, allocations: 4.031 kB / 0.5985 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.1794, allocations: 87.22 kB / 0.5986 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1794, allocations: 0 / 0.5986 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1796, allocations: 16 kB / 0.5986 GB, free: 4.52 MB / 0.4981 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.0005685/0.1802, allocations: 0.7183 MB / 0.5993 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1804, allocations: 35.95 kB / 0.5994 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1804, allocations: 0 / 0.5994 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.1805, allocations: 28.02 kB / 0.5994 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1807, allocations: 0 / 0.5994 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.1811, allocations: 140.9 kB / 0.5995 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1813, allocations: 0.677 MB / 0.6002 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.1813, allocations: 3.938 kB / 0.6002 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1814, allocations: 15.5 kB / 0.6002 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1814, allocations: 4 kB / 0.6002 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.1919, allocations: 1.329 MB / 0.6015 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.1921, allocations: 194 kB / 0.6017 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.804, allocations: 0 / 0.6017 GB, free: 1.324 MB / 0.4981 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)