Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.001656/0.001656, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001957/0.001957, allocations: 209.6 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.515/1.515, 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.002373/0.002373, allocations: 289.8 kB / 309.8 MB, free: 3.438 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.09/1.09, allocations: 180.6 MB / 0.5338 GB, free: 12.4 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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.002873/0.002873, allocations: 104.3 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6124, allocations: 95.34 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002956/0.6154, allocations: 1.46 MB / 0.8292 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007377/0.6161, allocations: 363.9 kB / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.6161, allocations: 0 / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.6162, allocations: 3.938 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.6162, allocations: 4.75 kB / 0.8296 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.6167, allocations: 109.5 kB / 0.8297 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.6168, allocations: 23.69 kB / 0.8297 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6169, allocations: 9.953 kB / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.6169, allocations: 7.75 kB / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.617, allocations: 8.141 kB / 0.8297 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.617, allocations: 6.625 kB / 0.8297 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.6172, allocations: 132.6 kB / 0.8299 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.6173, allocations: 5.078 kB / 0.8299 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.6173, allocations: 10.19 kB / 0.8299 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.6175, allocations: 89.53 kB / 0.83 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6175, allocations: 2.469 kB / 0.83 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6175, allocations: 0 / 0.83 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6175, allocations: 0 / 0.83 GB, free: 1.652 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.0004948/0.618, allocations: 354.8 kB / 0.8303 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.618, allocations: 9.531 kB / 0.8303 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/0.6181, allocations: 4.188 kB / 0.8303 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.322e-05/0.6181, allocations: 36.86 kB / 0.8303 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.6181, allocations: 8.141 kB / 0.8304 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.6182, allocations: 169.9 kB / 0.8305 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.6182, allocations: 384 / 0.8305 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.6182, allocations: 3.094 kB / 0.8305 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.6184, allocations: 56.78 kB / 0.8306 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6184, allocations: 0 / 0.8306 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6185, allocations: 0 / 0.8306 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6185, allocations: 0.75 kB / 0.8306 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.6186, allocations: 37.89 kB / 0.8306 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.6189, allocations: 246.2 kB / 0.8308 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.6191, allocations: 38.67 kB / 0.8309 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.6192, allocations: 24.09 kB / 0.8309 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.6198, allocations: 470.5 kB / 0.8314 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6199, allocations: 34.56 kB / 0.8314 GB, free: 148 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.6199, allocations: 4 kB / 0.8314 GB, free: 144 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003676/0.6202, allocations: 79.52 kB / 0.8315 GB, free: 104 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6203, allocations: 52.2 kB / 0.8315 GB, free: 40 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6204, allocations: 105.1 kB / 0.8316 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6204, allocations: 26.55 kB / 0.8316 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.6204, allocations: 90.97 kB / 0.8317 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.6205, allocations: 8.75 kB / 0.8317 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.6205, allocations: 13.09 kB / 0.8317 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6206, allocations: 312.1 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.6207, allocations: 18.14 kB / 0.8321 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.6208, allocations: 15.11 kB / 0.8321 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.621, allocations: 49.64 kB / 0.8321 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.621, allocations: 0 / 0.8321 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002163/0.6212, allocations: 64.72 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6212, allocations: 2.625 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6212, allocations: 1.062 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6213, allocations: 4.688 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.6213, allocations: 12.17 kB / 0.8322 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6214, allocations: 7.312 kB / 0.8322 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.6214, allocations: 11.53 kB / 0.8322 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6214, allocations: 2.531 kB / 0.8322 GB, free: 15.39 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 0.0001061/0.6215, allocations: 110.4 kB / 0.8323 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.6215, allocations: 3.094 kB / 0.8323 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.6218, allocations: 71.83 kB / 0.8324 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6218, allocations: 4.688 kB / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6218, allocations: 0 / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6218, allocations: 0 / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.622, allocations: 160.9 kB / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.622, allocations: 0 / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.622, allocations: 8.859 kB / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.622, allocations: 3.938 kB / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.622, allocations: 2.562 kB / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.622, allocations: 0 / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.622, allocations: 0.5156 kB / 0.8326 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.6223, allocations: 169.8 kB / 0.8327 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.6224, allocations: 77.95 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.6224, allocations: 2 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.6225, allocations: 13.59 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.6225, allocations: 3.781 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.6225, allocations: 0.8438 kB / 0.8328 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.6226, allocations: 87.28 kB / 0.8329 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6226, allocations: 1 kB / 0.8329 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002702/0.6228, allocations: 28.31 kB / 0.8329 GB, free: 14.7 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.0007676/0.6236, allocations: 0.7296 MB / 0.8337 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.6238, allocations: 39.22 kB / 0.8337 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6238, allocations: 0 / 0.8337 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.6239, allocations: 22.73 kB / 0.8337 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.6242, allocations: 2.5 kB / 0.8337 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.6247, allocations: 157.2 kB / 0.8339 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.625, allocations: 0.674 MB / 0.8345 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.625, allocations: 7.453 kB / 0.8345 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.625, allocations: 12.38 kB / 0.8345 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.625, allocations: 0 / 0.8345 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.644, allocations: 1.826 MB / 0.8363 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.689, allocations: 5.719 kB / 0.8363 GB, free: 12.72 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.834716217010282] Failed to read output from testmodel.py, exit status != 0: 8.814917335985228 8.843054777 8.220640026 Calling exit ...