Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 119.9 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.001315/0.001315, allocations: 191.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.517/1.517, 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.8759/0.8759, allocations: 129.2 MB / 432.5 MB, free: 13.27 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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 83.45 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002539/0.4363, allocations: 1.433 MB / 0.6816 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005865/0.4369, allocations: 251.4 kB / 0.6818 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.4369, allocations: 5.219 kB / 0.6818 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.437, allocations: 0 / 0.6818 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.437, allocations: 3.938 kB / 0.6818 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.4374, allocations: 63.08 kB / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.4375, allocations: 25.45 kB / 0.6819 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.4376, allocations: 9.438 kB / 0.6819 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.4376, allocations: 7.125 kB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.4377, allocations: 14.98 kB / 0.6819 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4377, allocations: 1.812 kB / 0.682 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.4378, allocations: 61.12 kB / 0.682 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.4378, allocations: 8 kB / 0.682 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.4379, allocations: 10.75 kB / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.438, allocations: 47.45 kB / 0.6821 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.438, allocations: 1 kB / 0.6821 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.438, allocations: 3.984 kB / 0.6821 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.438, allocations: 0 / 0.6821 GB, free: 4.508 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.00044/0.4385, allocations: 346.4 kB / 0.6824 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4385, allocations: 9.625 kB / 0.6824 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.4386, allocations: 36.06 kB / 0.6825 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4386, allocations: 6.031 kB / 0.6825 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.4387, allocations: 173.5 kB / 0.6826 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4387, allocations: 1.469 kB / 0.6826 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.4387, allocations: 1.5 kB / 0.6826 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4389, allocations: 53.64 kB / 0.6827 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4389, allocations: 3.938 kB / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4389, allocations: 1.188 kB / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4389, allocations: 0 / 0.6827 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.4391, allocations: 38.7 kB / 0.6827 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.4394, allocations: 252.5 kB / 0.683 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4395, allocations: 46.11 kB / 0.683 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.4396, allocations: 18.56 kB / 0.683 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/0.4402, allocations: 463.3 kB / 0.6835 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.4402, allocations: 31.72 kB / 0.6835 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4402, allocations: 0 / 0.6835 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.4406, allocations: 84.67 kB / 0.6836 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.4406, allocations: 55.34 kB / 0.6836 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.4407, allocations: 99.27 kB / 0.6837 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.4407, allocations: 25.7 kB / 0.6837 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4407, allocations: 85.34 kB / 0.6838 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4407, allocations: 5.109 kB / 0.6838 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.4408, allocations: 15.69 kB / 0.6838 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.4408, allocations: 315.9 kB / 0.6841 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.4409, allocations: 13.42 kB / 0.6842 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.441, allocations: 21.75 kB / 0.6842 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4411, allocations: 39.61 kB / 0.6842 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4411, allocations: 3.938 kB / 0.6842 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.4413, allocations: 72.31 kB / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4413, allocations: 7.812 kB / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4413, allocations: 0 / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4413, allocations: 0 / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.4414, allocations: 10.7 kB / 0.6843 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4414, allocations: 0 / 0.6843 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.4414, allocations: 3.594 kB / 0.6843 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4414, allocations: 1.156 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.766e-05/0.4415, allocations: 119.9 kB / 0.6844 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4415, allocations: 9.156 kB / 0.6844 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.4417, allocations: 70.38 kB / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4417, allocations: 0 / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4417, allocations: 1.188 kB / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4417, allocations: 0 / 0.6845 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4418, allocations: 170.3 kB / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4418, allocations: 0 / 0.6847 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4419, allocations: 9.516 kB / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4419, allocations: 1.125 kB / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4419, allocations: 0 / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4419, allocations: 1.188 kB / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4419, allocations: 0 / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.4421, allocations: 167 kB / 0.6848 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.4421, allocations: 78.7 kB / 0.6849 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.4421, allocations: 7.984 kB / 0.6849 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.4422, allocations: 7.484 kB / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.4422, allocations: 2.312 kB / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4422, allocations: 0 / 0.6849 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.4423, allocations: 83.02 kB / 0.685 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4423, allocations: 0 / 0.685 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002425/0.4425, allocations: 18.44 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.0004507/0.4429, allocations: 0.7196 MB / 0.6857 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.4432, allocations: 36.41 kB / 0.6858 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4432, allocations: 1.25 kB / 0.6858 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.4432, allocations: 26.53 kB / 0.6858 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4435, allocations: 1.469 kB / 0.6858 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4439, allocations: 149.2 kB / 0.6859 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.4441, allocations: 0.6768 MB / 0.6866 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.4441, allocations: 1.094 kB / 0.6866 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.4441, allocations: 9.469 kB / 0.6866 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4441, allocations: 0 / 0.6866 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.4704, allocations: 1.509 MB / 0.6881 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.459, allocations: 3.031 kB / 0.6881 GB, free: 14.95 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.956318414770067] Failed to read output from testmodel.py, exit status != 0: 8.529116438701749 8.552560369 8.110343446 Calling exit ...