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.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.001773/0.001773, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.002554/0.002554, allocations: 219.7 kB / 23 MB, free: 5.004 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> 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: IBPSA 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.003168/0.003168, allocations: 67.27 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2119, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003495/0.2154, allocations: 1.455 MB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.2161, allocations: 259.3 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2161, allocations: 0 / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.2162, allocations: 3.938 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.2162, allocations: 3.984 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2167, allocations: 59.81 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.2167, allocations: 23.88 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2168, allocations: 7.984 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.2169, allocations: 8 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.2169, allocations: 15.91 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.217, allocations: 8 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2171, allocations: 59.89 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.2171, allocations: 3.984 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.2172, allocations: 11.94 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.2173, allocations: 52.14 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2173, allocations: 0 / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2173, allocations: 3.938 kB / 0.7303 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.2174, allocations: 0 / 0.7303 GB, free: 15.3 MB / 0.5606 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.0005029/0.2179, allocations: 270.2 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2179, allocations: 16.03 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.218, allocations: 38.67 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.218, allocations: 0.9375 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2182, allocations: 110.5 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2182, allocations: 384 / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2182, allocations: 4.375 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.2184, allocations: 50.23 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2184, allocations: 3.938 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2184, allocations: 3.984 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2184, allocations: 4 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2186, allocations: 39.89 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.2189, allocations: 220 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.219, allocations: 34.5 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.2191, allocations: 32.89 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.2197, allocations: 71.92 kB / 0.7311 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.2198, allocations: 30.56 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.237e-06/0.2198, allocations: 4 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.2202, allocations: 85.58 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2202, allocations: 51.41 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.2203, allocations: 101.8 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2203, allocations: 25.7 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2204, allocations: 80.14 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2204, allocations: 8.078 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.2204, allocations: 13.72 kB / 0.7315 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2206, allocations: 318.8 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.2207, allocations: 15.98 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2208, allocations: 15.98 kB / 0.7318 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.221, allocations: 40.89 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.221, allocations: 3.938 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.2212, allocations: 65.59 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2212, allocations: 10.03 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2212, allocations: 0 / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2213, allocations: 3.938 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.2213, allocations: 11.98 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2214, allocations: 0 / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.2214, allocations: 12.02 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.2214, allocations: 0 / 0.732 GB, free: 13.35 MB / 0.5606 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.913e-05/0.2215, allocations: 115.8 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2215, allocations: 7.953 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.2218, allocations: 68.91 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2218, allocations: 0 / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2218, allocations: 4.031 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2218, allocations: 0 / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2219, allocations: 136.7 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2219, allocations: 4 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.222, allocations: 8 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.222, allocations: 3.984 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.222, allocations: 0 / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.222, allocations: 0 / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.222, allocations: 8 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2223, allocations: 159.5 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.2223, allocations: 4 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2223, allocations: 3.938 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2225, allocations: 8 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2225, allocations: 7.922 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2225, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.2226, allocations: 83.31 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2226, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003977/0.223, allocations: 19.94 kB / 0.7326 GB, free: 12.64 MB / 0.5606 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.0008863/0.2239, allocations: 0.7162 MB / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2241, allocations: 39.89 kB / 0.7333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2241, allocations: 4 kB / 0.7333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2243, allocations: 15.98 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2246, allocations: 11.3 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.2252, allocations: 143.1 kB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2256, allocations: 0.6768 MB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.2256, allocations: 3.938 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.2257, allocations: 7.438 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2257, allocations: 0 / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.2587, allocations: 1.624 MB / 0.7358 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.29, allocations: 7.859 kB / 0.7358 GB, free: 9.445 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.105767775094137] Failed to read output from testmodel.py, exit status != 0: 11.40000202297233 11.424420994 11.2023188 Calling exit ...