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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 102.8 kB / 16.45 MB, free: 6.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 214.3 kB / 19.43 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9689/0.9689, allocations: 144.9 MB / 453.8 MB, free: 0.7305 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 74.5 kB / 0.6285 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1982, allocations: 87.8 MB / 0.7143 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.00319/0.2014, allocations: 1.447 MB / 0.7157 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.202, allocations: 256.5 kB / 0.7159 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.202, allocations: 3.938 kB / 0.7159 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.202, allocations: 3.984 kB / 0.7159 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.2021, allocations: 3.938 kB / 0.7159 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.2025, allocations: 63.81 kB / 0.716 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.2026, allocations: 23.98 kB / 0.716 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.2027, allocations: 4 kB / 0.716 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.2027, allocations: 11.94 kB / 0.716 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.2027, allocations: 11.91 kB / 0.716 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2028, allocations: 4 kB / 0.716 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.2029, allocations: 59.94 kB / 0.7161 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2029, allocations: 7.938 kB / 0.7161 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.2029, allocations: 7.938 kB / 0.7161 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2031, allocations: 59.78 kB / 0.7162 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2031, allocations: 0 / 0.7162 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2031, allocations: 0 / 0.7162 GB, free: 404 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2031, allocations: 4 kB / 0.7162 GB, free: 400 kB / 0.5294 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.0005856/0.2037, allocations: 345.3 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.2038, allocations: 8.078 kB / 0.7165 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.2038, allocations: 8.891 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.204, allocations: 164.3 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.204, allocations: 384 / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.204, allocations: 8.312 kB / 0.7167 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2042, allocations: 46.25 kB / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.2042, allocations: 4.188 kB / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2042, allocations: 7.922 kB / 0.7167 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2042, allocations: 0 / 0.7167 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2044, allocations: 31.91 kB / 0.7168 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.2048, allocations: 249 kB / 0.717 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2049, allocations: 42.48 kB / 0.717 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.816e-05/0.205, allocations: 24.91 kB / 0.7171 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/0.2058, allocations: 457.5 kB / 0.7175 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2058, allocations: 34.56 kB / 0.7175 GB, free: 14.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2058, allocations: 3.938 kB / 0.7175 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000484/0.2063, allocations: 81.58 kB / 0.7176 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2064, allocations: 55.41 kB / 0.7177 GB, free: 14.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2065, allocations: 101.8 kB / 0.7178 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2065, allocations: 29.83 kB / 0.7178 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.2065, allocations: 88.09 kB / 0.7179 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2066, allocations: 3.953 kB / 0.7179 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.2066, allocations: 13.72 kB / 0.7179 GB, free: 14.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.2068, allocations: 314.8 kB / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.2069, allocations: 15.97 kB / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.2071, allocations: 19.98 kB / 0.7182 GB, free: 13.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2073, allocations: 40.83 kB / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2073, allocations: 0 / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.2075, allocations: 69.59 kB / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2075, allocations: 4 kB / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2075, allocations: 0 / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2075, allocations: 8.031 kB / 0.7184 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.2076, allocations: 7.984 kB / 0.7184 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2076, allocations: 0 / 0.7184 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.2077, allocations: 7.984 kB / 0.7184 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2077, allocations: 0 / 0.7184 GB, free: 13.82 MB / 0.545 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 9.36e-05/0.2077, allocations: 113.8 kB / 0.7185 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.2078, allocations: 4 kB / 0.7185 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.208, allocations: 76.72 kB / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.208, allocations: 0 / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.208, allocations: 3.938 kB / 0.7186 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.208, allocations: 0 / 0.7186 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2082, allocations: 169.6 kB / 0.7187 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2082, allocations: 0 / 0.7187 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.2083, allocations: 8 kB / 0.7187 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2083, allocations: 0 / 0.7187 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2083, allocations: 3.984 kB / 0.7187 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2083, allocations: 0 / 0.7187 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2083, allocations: 4.031 kB / 0.7187 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.2086, allocations: 171.3 kB / 0.7189 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2086, allocations: 77.11 kB / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2086, allocations: 0 / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.2087, allocations: 4 kB / 0.719 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.2087, allocations: 12.02 kB / 0.719 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2087, allocations: 0 / 0.719 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.2088, allocations: 83.28 kB / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2088, allocations: 0 / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002445/0.209, allocations: 15.94 kB / 0.7191 GB, free: 12.99 MB / 0.545 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.0002175/0.2093, allocations: 123.1 kB / 0.7192 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2095, allocations: 35.95 kB / 0.7192 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2095, allocations: 4 kB / 0.7192 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.2096, allocations: 19.92 kB / 0.7193 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2098, allocations: 7.938 kB / 0.7193 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.2101, allocations: 109.6 kB / 0.7194 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2105, allocations: 0.6768 MB / 0.72 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.2105, allocations: 4 kB / 0.72 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.2105, allocations: 7.438 kB / 0.72 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2105, allocations: 0 / 0.72 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Templates: time 0.003598/0.2141, allocations: 0.6743 MB / 0.7207 GB, free: 11.28 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.979092661291361] Failed to read output from testmodel.py, exit status != 0: 0.22312472015619278 0.23689384200000002 0.030850252 Calling exit ...