Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001874/0.001874, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.002148/0.002148, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.8437/0.8437, allocations: 129.2 MB / 432.5 MB, free: 13.34 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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 59.91 kB / 0.5987 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4262, allocations: 83.44 MB / 0.6802 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002197/0.4284, allocations: 1.441 MB / 0.6816 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004535/0.4289, allocations: 243.9 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.4289, allocations: 1.156 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.4289, allocations: 3.984 kB / 0.6818 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.429, allocations: 5.188 kB / 0.6818 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4293, allocations: 53.59 kB / 0.6819 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.4294, allocations: 24.97 kB / 0.6819 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.4294, allocations: 10.05 kB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.4295, allocations: 11.31 kB / 0.6819 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.4295, allocations: 14.23 kB / 0.6819 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.4295, allocations: 2.406 kB / 0.6819 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.4296, allocations: 55.62 kB / 0.682 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.4297, allocations: 9.266 kB / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.4297, allocations: 9.062 kB / 0.682 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4298, allocations: 52.45 kB / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4298, allocations: 0 / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4298, allocations: 5.188 kB / 0.6821 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4298, allocations: 0 / 0.6821 GB, free: 4.5 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.0003588/0.4302, allocations: 346 kB / 0.6824 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4302, allocations: 9.156 kB / 0.6824 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.4302, allocations: 35.8 kB / 0.6824 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.4303, allocations: 2.031 kB / 0.6824 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.532e-05/0.4303, allocations: 162.6 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4303, allocations: 4.375 kB / 0.6826 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.4303, allocations: 2.438 kB / 0.6826 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4305, allocations: 53.23 kB / 0.6827 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4305, allocations: 3.938 kB / 0.6827 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4305, allocations: 5.062 kB / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4305, allocations: 0 / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4307, allocations: 35.39 kB / 0.6827 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.4309, allocations: 247.9 kB / 0.6829 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.431, allocations: 43 kB / 0.683 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.4311, allocations: 21.83 kB / 0.683 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.4317, allocations: 459.8 kB / 0.6834 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4317, allocations: 35.78 kB / 0.6835 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4317, allocations: 0 / 0.6835 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003187/0.432, allocations: 80.55 kB / 0.6835 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.432, allocations: 52.81 kB / 0.6836 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.4321, allocations: 109.6 kB / 0.6837 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.4321, allocations: 27.33 kB / 0.6837 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.4321, allocations: 80.14 kB / 0.6838 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.4321, allocations: 5.078 kB / 0.6838 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.4321, allocations: 16.38 kB / 0.6838 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.4322, allocations: 316 kB / 0.6841 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.4322, allocations: 12.48 kB / 0.6841 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.4323, allocations: 26.11 kB / 0.6842 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4324, allocations: 35.27 kB / 0.6842 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4325, allocations: 3.938 kB / 0.6842 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001651/0.4326, allocations: 68.81 kB / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4326, allocations: 5.188 kB / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4326, allocations: 96 / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4326, allocations: 5.281 kB / 0.6843 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.4327, allocations: 9.453 kB / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4327, allocations: 0 / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.4328, allocations: 7.984 kB / 0.6843 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.4328, allocations: 1.469 kB / 0.6843 GB, free: 2.145 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 4.313e-05/0.4328, allocations: 119.1 kB / 0.6844 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4328, allocations: 5.109 kB / 0.6844 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.433, allocations: 70.28 kB / 0.6845 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.433, allocations: 1.219 kB / 0.6845 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.433, allocations: 4 kB / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.433, allocations: 0 / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.4332, allocations: 161.9 kB / 0.6846 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4332, allocations: 1.156 kB / 0.6846 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.4332, allocations: 13.14 kB / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4332, allocations: 1.25 kB / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4332, allocations: 32 / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4332, allocations: 5 kB / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4332, allocations: 3.984 kB / 0.6847 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.4334, allocations: 162.7 kB / 0.6848 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.4334, allocations: 78.45 kB / 0.6849 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4334, allocations: 1.125 kB / 0.6849 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.4335, allocations: 15.36 kB / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.4335, allocations: 1.094 kB / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4336, allocations: 1.188 kB / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.4336, allocations: 82.44 kB / 0.685 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4336, allocations: 0 / 0.685 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.4338, allocations: 17.25 kB / 0.685 GB, free: 1.402 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.0004189/0.4342, allocations: 0.716 MB / 0.6857 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4344, allocations: 41.55 kB / 0.6857 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4344, allocations: 0 / 0.6857 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.4345, allocations: 18.98 kB / 0.6858 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.4347, allocations: 3.062 kB / 0.6858 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.4351, allocations: 148.3 kB / 0.6859 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4354, allocations: 0.6765 MB / 0.6866 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.4354, allocations: 9.219 kB / 0.6866 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.4354, allocations: 8.75 kB / 0.6866 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.4354, allocations: 0 / 0.6866 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.4609, allocations: 1.5 MB / 0.688 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.463, allocations: 7.141 kB / 0.6881 GB, free: 14.95 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.879872960969806] Failed to read output from testmodel.py, exit status != 0: 8.533573410939425 8.558273211 8.123795559 Calling exit ...