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.001495/0.001495, allocations: 108 kB / 15.6 MB, free: 132 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.001747/0.001747, allocations: 191.9 kB / 16.53 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9826/0.9826, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1665, allocations: 82.03 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002361/0.1689, allocations: 1.425 MB / 0.5958 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.1694, allocations: 252 kB / 0.596 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.1694, allocations: 0 / 0.596 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.1694, allocations: 3.938 kB / 0.596 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.1695, allocations: 8 kB / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1698, allocations: 63.75 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.1699, allocations: 19.98 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.1699, allocations: 4 kB / 0.5961 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.17, allocations: 7.938 kB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.17, allocations: 11.98 kB / 0.5961 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.17, allocations: 4 kB / 0.5961 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1702, allocations: 67.86 kB / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1702, allocations: 3.938 kB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.1702, allocations: 8 kB / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1703, allocations: 55.84 kB / 0.5963 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1703, allocations: 0 / 0.5963 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1703, allocations: 4 kB / 0.5963 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.1703, allocations: 0 / 0.5963 GB, free: 7.512 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.0003726/0.1707, allocations: 351.6 kB / 0.5966 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1708, allocations: 8.031 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.1708, allocations: 30.75 kB / 0.5966 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.1708, allocations: 4.938 kB / 0.5966 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.1709, allocations: 168.3 kB / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1709, allocations: 384 / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1709, allocations: 384 / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1711, allocations: 50.23 kB / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1711, allocations: 3.938 kB / 0.5969 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1711, allocations: 3.984 kB / 0.5969 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1711, allocations: 8 kB / 0.5969 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1713, allocations: 35.95 kB / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.1716, allocations: 252.8 kB / 0.5971 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1717, allocations: 42.47 kB / 0.5972 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.1718, allocations: 24.91 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.1724, allocations: 461.5 kB / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1724, allocations: 30.56 kB / 0.5977 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1724, allocations: 0 / 0.5977 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003148/0.1727, allocations: 85.58 kB / 0.5978 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.1728, allocations: 55.41 kB / 0.5978 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.632e-05/0.1728, allocations: 101.8 kB / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1728, allocations: 25.7 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.1729, allocations: 84.14 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.1729, allocations: 3.906 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1729, allocations: 13.72 kB / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.173, allocations: 319 kB / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.1731, allocations: 15.97 kB / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1732, allocations: 20 kB / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1733, allocations: 32.83 kB / 0.5984 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1733, allocations: 3.938 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.1735, allocations: 73.66 kB / 0.5985 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1735, allocations: 4 kB / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1735, allocations: 0 / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1735, allocations: 4 kB / 0.5985 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1736, allocations: 7.984 kB / 0.5985 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1736, allocations: 0 / 0.5985 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1737, allocations: 4 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1737, allocations: 3.984 kB / 0.5985 GB, free: 4.898 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 5.519e-05/0.1737, allocations: 117.8 kB / 0.5986 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1738, allocations: 4 kB / 0.5986 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.174, allocations: 68.72 kB / 0.5987 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.174, allocations: 4 kB / 0.5987 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.174, allocations: 3.938 kB / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.174, allocations: 0 / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1741, allocations: 169.5 kB / 0.5988 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1742, allocations: 4 kB / 0.5989 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.1742, allocations: 8 kB / 0.5989 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1742, allocations: 0 / 0.5989 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1742, allocations: 0 / 0.5989 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1742, allocations: 7.922 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1742, allocations: 3.984 kB / 0.5989 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1744, allocations: 167.5 kB / 0.599 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.1745, allocations: 81.09 kB / 0.5991 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.1745, allocations: 0 / 0.5991 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.1746, allocations: 4 kB / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1746, allocations: 11.98 kB / 0.5991 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1746, allocations: 0 / 0.5991 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.1746, allocations: 91.22 kB / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.1749, allocations: 16 kB / 0.5992 GB, free: 4.055 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.0004878/0.1754, allocations: 0.7128 MB / 0.5999 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1756, allocations: 35.97 kB / 0.6 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1756, allocations: 0 / 0.6 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.1757, allocations: 23.91 kB / 0.6 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1759, allocations: 6.5 kB / 0.6 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1762, allocations: 143.2 kB / 0.6001 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.1764, allocations: 0.6807 MB / 0.6008 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.1764, allocations: 0 / 0.6008 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1765, allocations: 11.44 kB / 0.6008 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1765, allocations: 0 / 0.6008 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/0.2405, allocations: 1.487 MB / 0.6022 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.95, allocations: 5.281 kB / 0.6023 GB, free: 0.9258 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)