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.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.001245/0.001245, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001361/0.001361, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002337/0.002337, allocations: 282.3 kB / 303 MB, free: 3.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 180.9 MB / 0.5262 GB, free: 2.746 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 103.8 kB / 0.7248 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5881, allocations: 94.15 MB / 0.8167 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002589/0.5907, allocations: 1.437 MB / 0.8181 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.5913, allocations: 269.8 kB / 0.8184 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.5913, allocations: 0 / 0.8184 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.5913, allocations: 0 / 0.8184 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.5914, allocations: 5 kB / 0.8184 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.5917, allocations: 59.8 kB / 0.8184 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.5918, allocations: 19.98 kB / 0.8185 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.5919, allocations: 10.17 kB / 0.8185 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.5919, allocations: 18.84 kB / 0.8185 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.592, allocations: 10.61 kB / 0.8185 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.592, allocations: 1.344 kB / 0.8185 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.5921, allocations: 56.89 kB / 0.8186 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.5921, allocations: 7.938 kB / 0.8186 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.5921, allocations: 11.02 kB / 0.8186 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.5923, allocations: 55.03 kB / 0.8186 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5923, allocations: 0 / 0.8186 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5923, allocations: 1 kB / 0.8186 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5923, allocations: 0 / 0.8186 GB, free: 5.871 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.0004306/0.5927, allocations: 347.5 kB / 0.819 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5928, allocations: 8.75 kB / 0.819 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.5928, allocations: 31.88 kB / 0.819 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.5928, allocations: 1.969 kB / 0.819 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.5929, allocations: 171 kB / 0.8192 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.5929, allocations: 0.9844 kB / 0.8192 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.5929, allocations: 2.219 kB / 0.8192 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5931, allocations: 52.81 kB / 0.8192 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5931, allocations: 9.156 kB / 0.8192 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5931, allocations: 0 / 0.8192 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5931, allocations: 0 / 0.8192 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.5933, allocations: 38.12 kB / 0.8193 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.5936, allocations: 251.8 kB / 0.8195 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5937, allocations: 41.52 kB / 0.8195 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.5938, allocations: 21.55 kB / 0.8196 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/0.5944, allocations: 456.8 kB / 0.82 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.5944, allocations: 43.31 kB / 0.82 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5944, allocations: 0 / 0.82 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.5948, allocations: 76.94 kB / 0.8201 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.5948, allocations: 51.41 kB / 0.8202 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.5949, allocations: 102.3 kB / 0.8203 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.5949, allocations: 27.33 kB / 0.8203 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.5949, allocations: 90.02 kB / 0.8204 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5949, allocations: 5.141 kB / 0.8204 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5949, allocations: 23.11 kB / 0.8204 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.595, allocations: 312 kB / 0.8207 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.5951, allocations: 12.75 kB / 0.8207 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.5952, allocations: 22.98 kB / 0.8207 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5953, allocations: 40.56 kB / 0.8208 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5953, allocations: 3.938 kB / 0.8208 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.5955, allocations: 63.25 kB / 0.8208 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5955, allocations: 5.219 kB / 0.8208 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5955, allocations: 4.391 kB / 0.8208 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5955, allocations: 0 / 0.8208 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.5956, allocations: 10.5 kB / 0.8209 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5956, allocations: 1.219 kB / 0.8209 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.5957, allocations: 6.781 kB / 0.8209 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5957, allocations: 0.7812 kB / 0.8209 GB, free: 3.637 MB / 0.5762 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 5.208e-05/0.5957, allocations: 119.3 kB / 0.821 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.5957, allocations: 5.734 kB / 0.821 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.5959, allocations: 76.22 kB / 0.8211 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.596, allocations: 3.984 kB / 0.8211 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.596, allocations: 0.875 kB / 0.8211 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.596, allocations: 0 / 0.8211 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.5961, allocations: 161.2 kB / 0.8212 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5961, allocations: 0 / 0.8212 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.5961, allocations: 9.344 kB / 0.8212 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5961, allocations: 5.031 kB / 0.8212 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5961, allocations: 0 / 0.8212 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5961, allocations: 0.9688 kB / 0.8212 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5961, allocations: 4.031 kB / 0.8212 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.5963, allocations: 161.9 kB / 0.8214 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.5964, allocations: 80.39 kB / 0.8215 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5964, allocations: 1.156 kB / 0.8215 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.5964, allocations: 11.08 kB / 0.8215 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.5965, allocations: 4.875 kB / 0.8215 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5965, allocations: 4.938 kB / 0.8215 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.5965, allocations: 78.69 kB / 0.8216 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5965, allocations: 0 / 0.8216 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002485/0.5968, allocations: 21.27 kB / 0.8216 GB, free: 2.934 MB / 0.5762 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.0004782/0.5972, allocations: 0.7165 MB / 0.8223 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.5974, allocations: 36.67 kB / 0.8223 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5975, allocations: 4.094 kB / 0.8223 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.5975, allocations: 19.34 kB / 0.8223 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5978, allocations: 6.781 kB / 0.8223 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.5981, allocations: 136.8 kB / 0.8225 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5985, allocations: 0.6772 MB / 0.8231 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.5985, allocations: 3.938 kB / 0.8231 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.5986, allocations: 9.719 kB / 0.8231 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5986, allocations: 4.062 kB / 0.8232 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.623, allocations: 1.542 MB / 0.8247 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.434, allocations: 9.797 kB / 0.8247 GB, free: 16.98 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.358145076781511] Failed to read output from testmodel.py, exit status != 0: 8.504325229674578 8.530810026 7.933057838 Calling exit ...