Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001685/0.001685, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.002/0.002, allocations: 212 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002339/0.002339, allocations: 291.7 kB / 309.8 MB, free: 3.453 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.073/1.073, allocations: 180.6 MB / 0.5337 GB, free: 12.75 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002825/0.002825, allocations: 102.2 kB / 0.7347 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6063, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002423/0.6088, allocations: 1.456 MB / 0.8292 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005136/0.6093, allocations: 255.7 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.6093, allocations: 4 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.6093, allocations: 0 / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.6094, allocations: 7.484 kB / 0.8295 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.6097, allocations: 62.55 kB / 0.8295 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.6098, allocations: 23.66 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.6099, allocations: 4.516 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.6099, allocations: 11.83 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.61, allocations: 9.766 kB / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.61, allocations: 5.219 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.6101, allocations: 65.53 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.6101, allocations: 9.5 kB / 0.8297 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.6102, allocations: 9.953 kB / 0.8297 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.6103, allocations: 45.12 kB / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6103, allocations: 6.594 kB / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6103, allocations: 0 / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6103, allocations: 0.6094 kB / 0.8297 GB, free: 1.738 MB / 0.5762 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.0003936/0.6107, allocations: 346.4 kB / 0.83 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6107, allocations: 10.52 kB / 0.8301 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.227e-05/0.6108, allocations: 4.188 kB / 0.8301 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.903e-05/0.6108, allocations: 38.69 kB / 0.8301 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.6108, allocations: 8.438 kB / 0.8301 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.6109, allocations: 169.9 kB / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.6109, allocations: 384 / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.6109, allocations: 1.625 kB / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.6111, allocations: 54.41 kB / 0.8303 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6111, allocations: 0 / 0.8303 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.6111, allocations: 0 / 0.8303 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6111, allocations: 4 kB / 0.8303 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.6113, allocations: 34.58 kB / 0.8304 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.6115, allocations: 244.9 kB / 0.8306 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.6116, allocations: 43.67 kB / 0.8306 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.6117, allocations: 24.5 kB / 0.8307 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.6123, allocations: 454.6 kB / 0.8311 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.6123, allocations: 30.56 kB / 0.8311 GB, free: 248 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6123, allocations: 4 kB / 0.8311 GB, free: 244 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.6127, allocations: 86.11 kB / 0.8312 GB, free: 200 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.6127, allocations: 52.06 kB / 0.8313 GB, free: 136 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.6127, allocations: 101.3 kB / 0.8313 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.6128, allocations: 25.7 kB / 0.8314 GB, free: 0 / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.6128, allocations: 88.83 kB / 0.8315 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.6128, allocations: 7.812 kB / 0.8315 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.6129, allocations: 18.28 kB / 0.8315 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.613, allocations: 314.6 kB / 0.8318 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.6131, allocations: 17.16 kB / 0.8318 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.6132, allocations: 15.98 kB / 0.8318 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.6133, allocations: 43.23 kB / 0.8319 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6133, allocations: 0 / 0.8319 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.6135, allocations: 68.31 kB / 0.8319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6135, allocations: 7.312 kB / 0.8319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6135, allocations: 0 / 0.8319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6136, allocations: 0.5625 kB / 0.8319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.6136, allocations: 9.766 kB / 0.8319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6137, allocations: 3.984 kB / 0.8319 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.6137, allocations: 14.36 kB / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6137, allocations: 0.6562 kB / 0.832 GB, free: 15.5 MB / 0.5919 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 7.955e-05/0.6138, allocations: 120.8 kB / 0.8321 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.6138, allocations: 3.906 kB / 0.8321 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.614, allocations: 69.16 kB / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.614, allocations: 0 / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.614, allocations: 4.031 kB / 0.8321 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.614, allocations: 4.734 kB / 0.8321 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.6142, allocations: 159.9 kB / 0.8323 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6142, allocations: 4 kB / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.6143, allocations: 10 kB / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6143, allocations: 0 / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.6143, allocations: 2.781 kB / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6143, allocations: 0.6094 kB / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6143, allocations: 0 / 0.8323 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.6145, allocations: 164.7 kB / 0.8325 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.6146, allocations: 89.19 kB / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.6146, allocations: 0 / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.6147, allocations: 7.469 kB / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.6147, allocations: 1.219 kB / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.6147, allocations: 0 / 0.8326 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.6148, allocations: 85.89 kB / 0.8326 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6148, allocations: 0 / 0.8326 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002322/0.615, allocations: 18.73 kB / 0.8327 GB, free: 14.8 MB / 0.5919 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.0006784/0.6157, allocations: 0.7185 MB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.6159, allocations: 34.66 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6159, allocations: 0 / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/0.616, allocations: 21.84 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6162, allocations: 4.734 kB / 0.8334 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.6167, allocations: 146.5 kB / 0.8336 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.617, allocations: 0.6745 MB / 0.8342 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.617, allocations: 2.625 kB / 0.8342 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.6171, allocations: 8.516 kB / 0.8342 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.6171, allocations: 0 / 0.8342 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.6351, allocations: 1.566 MB / 0.8358 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.822, allocations: 11.11 kB / 0.8358 GB, free: 12.84 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.92137365898816] Failed to read output from testmodel.py, exit status != 0: 8.947825270006433 8.970802198 8.357321309 Calling exit ...