Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 174.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 91.38 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.412, allocations: 131.8 MB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4122, allocations: 75.91 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004645/0.4169, allocations: 1.523 MB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4169, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.417, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 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.0004329/0.4174, allocations: 371.2 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4175, allocations: 8.031 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.4175, allocations: 34.5 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.4175, allocations: 0 / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4176, allocations: 174.9 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4177, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4177, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4179, allocations: 61.66 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.4179, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4179, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4179, allocations: 4 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4181, allocations: 47.95 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.4186, allocations: 268.8 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4187, allocations: 46.59 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.4193, allocations: 437.5 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4194, allocations: 34.56 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4194, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003534/0.4197, allocations: 101.6 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.4198, allocations: 51.41 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.4199, allocations: 97.12 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4199, allocations: 25.7 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.4199, allocations: 80.14 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.4199, allocations: 7.891 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.42, allocations: 8 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.4201, allocations: 315.5 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4202, allocations: 15.98 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4203, allocations: 27.98 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4205, allocations: 19.97 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4205, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003445/0.4209, allocations: 85.67 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4209, allocations: 7.938 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4209, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4209, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.421, allocations: 11.98 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4211, allocations: 3.984 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.4211, allocations: 16.02 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.4211, allocations: 3.938 kB / 1.033 GB, free: 7.621 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.4212, allocations: 109.8 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.4212, allocations: 7.906 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4215, allocations: 84.78 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4215, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4215, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4215, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.4217, allocations: 165.5 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4217, allocations: 0 / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.4218, allocations: 15.98 kB / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4218, allocations: 4.031 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4218, allocations: 0 / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4218, allocations: 4 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4218, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.4221, allocations: 175.5 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.4222, allocations: 77.11 kB / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4222, allocations: 0 / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.4223, allocations: 11.98 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.4224, allocations: 0 / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4224, allocations: 0 / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.4224, allocations: 79.47 kB / 1.033 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4224, allocations: 0 / 1.033 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002931/0.4227, allocations: 35.95 kB / 1.033 GB, free: 6.766 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006775/0.4234, allocations: 0.7499 MB / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.4236, allocations: 44 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4236, allocations: 0 / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.4237, allocations: 27.86 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.4239, allocations: 11.98 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.4244, allocations: 154.3 kB / 1.034 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.4246, allocations: 0.677 MB / 1.035 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.4247, allocations: 4 kB / 1.035 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.4247, allocations: 7.438 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.4247, allocations: 0 / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.4362, allocations: 1.21 MB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.4365, allocations: 186.5 kB / 1.036 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.93, allocations: 2.25 kB / 1.036 GB, free: 3.664 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)