Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 114.3 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 195.7 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8697/0.8697, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.83 kB / 0.5987 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4477, allocations: 83.44 MB / 0.6802 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.00171/0.4494, allocations: 0.5683 MB / 0.6808 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.4499, allocations: 196.7 kB / 0.681 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.45, allocations: 0 / 0.681 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.45, allocations: 0 / 0.681 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.45, allocations: 0 / 0.681 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.4504, allocations: 49.7 kB / 0.681 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.4505, allocations: 5 kB / 0.681 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.4505, allocations: 5.344 kB / 0.681 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.4505, allocations: 0 / 0.681 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.4506, allocations: 5.297 kB / 0.681 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.4506, allocations: 7.938 kB / 0.681 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.4508, allocations: 57.81 kB / 0.6811 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.4508, allocations: 3.938 kB / 0.6811 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.4508, allocations: 5.188 kB / 0.6811 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.4509, allocations: 31.41 kB / 0.6811 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4509, allocations: 1.094 kB / 0.6811 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4509, allocations: 0 / 0.6811 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.4509, allocations: 0 / 0.6811 GB, free: 5.301 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.0002983/0.4512, allocations: 316 kB / 0.6814 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4513, allocations: 10.09 kB / 0.6814 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.4513, allocations: 38.73 kB / 0.6815 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.4513, allocations: 4.938 kB / 0.6815 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.4514, allocations: 165.6 kB / 0.6816 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4514, allocations: 384 / 0.6816 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4514, allocations: 1.562 kB / 0.6816 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.4515, allocations: 27.39 kB / 0.6817 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4515, allocations: 5 kB / 0.6817 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.4515, allocations: 3.938 kB / 0.6817 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4515, allocations: 0 / 0.6817 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.4515, allocations: 1.156 kB / 0.6817 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.4516, allocations: 151.8 kB / 0.6818 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.4517, allocations: 23.7 kB / 0.6818 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.4517, allocations: 5.953 kB / 0.6819 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.4523, allocations: 451.6 kB / 0.6823 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4524, allocations: 35.73 kB / 0.6823 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4524, allocations: 0 / 0.6823 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000129/0.4525, allocations: 42.23 kB / 0.6824 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.4525, allocations: 52.53 kB / 0.6824 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.668e-05/0.4525, allocations: 89.86 kB / 0.6825 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.4525, allocations: 29.64 kB / 0.6825 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.347e-05/0.4525, allocations: 85.45 kB / 0.6826 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.4526, allocations: 3.953 kB / 0.6826 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.4526, allocations: 12 kB / 0.6826 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.4526, allocations: 314.8 kB / 0.6829 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.4527, allocations: 5.109 kB / 0.6829 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.4527, allocations: 5.156 kB / 0.6829 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.4527, allocations: 12.2 kB / 0.6829 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4527, allocations: 0 / 0.6829 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.08e-05/0.4527, allocations: 34.39 kB / 0.683 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4527, allocations: 5.375 kB / 0.683 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4528, allocations: 4.938 kB / 0.683 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4528, allocations: 0 / 0.683 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.4528, allocations: 6.062 kB / 0.683 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4528, allocations: 0 / 0.683 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.4528, allocations: 0 / 0.683 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.4528, allocations: 4.953 kB / 0.683 GB, free: 3.164 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 (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 4.024e-05/0.4529, allocations: 110.8 kB / 0.6831 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.4529, allocations: 5.062 kB / 0.6831 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.4529, allocations: 41.61 kB / 0.6831 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4529, allocations: 0 / 0.6831 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4529, allocations: 0 / 0.6831 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4529, allocations: 1.125 kB / 0.6831 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.066e-05/0.453, allocations: 146.5 kB / 0.6833 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.453, allocations: 0 / 0.6833 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.453, allocations: 2.188 kB / 0.6833 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.453, allocations: 0 / 0.6833 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.453, allocations: 4.938 kB / 0.6833 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.453, allocations: 4.031 kB / 0.6833 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.453, allocations: 1.25 kB / 0.6833 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.57e-05/0.4531, allocations: 63.06 kB / 0.6834 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.4531, allocations: 77.11 kB / 0.6834 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.4531, allocations: 3.938 kB / 0.6834 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.4531, allocations: 1 kB / 0.6834 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.4531, allocations: 1 kB / 0.6834 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4531, allocations: 4.031 kB / 0.6834 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.292e-05/0.4531, allocations: 80.06 kB / 0.6835 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-08/0.4531, allocations: 0 / 0.6835 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001924/0.4533, allocations: 14.75 kB / 0.6835 GB, free: 2.547 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 (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.0003044/0.4536, allocations: 0.6167 MB / 0.6841 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.4537, allocations: 6.562 kB / 0.6841 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.4537, allocations: 1.156 kB / 0.6841 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.4537, allocations: 1.062 kB / 0.6841 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.4538, allocations: 1.406 kB / 0.6841 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.4541, allocations: 120 kB / 0.6843 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.4542, allocations: 0.669 MB / 0.6849 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.014e-05/0.4542, allocations: 5.125 kB / 0.6849 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.4542, allocations: 8.812 kB / 0.6849 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4542, allocations: 0 / 0.6849 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.4788, allocations: 1.151 MB / 0.686 GB, free: 420 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.523, allocations: 2.031 kB / 0.6861 GB, free: 420 kB / 0.4981 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.922442277427763] Failed to read output from testmodel.py, exit status != 0: 8.591618366073817 8.605768156 8.151829003 Calling exit ...