Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.00127/0.00127, allocations: 117.4 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.001324/0.001324, allocations: 214.3 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.539/1.539, 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.003516/0.003516, allocations: 284.6 kB / 309.8 MB, free: 3.445 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.099/1.099, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 178] 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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",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.002912/0.002912, allocations: 107.8 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6146, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002759/0.6174, allocations: 1.463 MB / 0.8292 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.618, allocations: 343.8 kB / 0.8295 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.618, allocations: 0 / 0.8295 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.618, allocations: 12.72 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.6181, allocations: 3.984 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.6185, allocations: 101.4 kB / 0.8297 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.6186, allocations: 23.09 kB / 0.8297 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.6187, allocations: 3.656 kB / 0.8297 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.6187, allocations: 9.453 kB / 0.8297 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.6188, allocations: 13.84 kB / 0.8297 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.6188, allocations: 2.562 kB / 0.8297 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.619, allocations: 128.1 kB / 0.8298 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.619, allocations: 13.39 kB / 0.8298 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.619, allocations: 7.156 kB / 0.8298 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.6192, allocations: 87.92 kB / 0.8299 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6192, allocations: 0 / 0.8299 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6192, allocations: 0 / 0.8299 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.6192, allocations: 0 / 0.8299 GB, free: 1.625 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.0004226/0.6197, allocations: 358.1 kB / 0.8303 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6197, allocations: 7.906 kB / 0.8303 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.279e-05/0.6197, allocations: 192 / 0.8303 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.6197, allocations: 42.28 kB / 0.8303 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.6197, allocations: 4.891 kB / 0.8303 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.636e-05/0.6198, allocations: 164.7 kB / 0.8305 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6198, allocations: 384 / 0.8305 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.6199, allocations: 384 / 0.8305 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.62, allocations: 53.77 kB / 0.8305 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.62, allocations: 0 / 0.8305 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.6201, allocations: 0 / 0.8305 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6201, allocations: 2.531 kB / 0.8305 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.6202, allocations: 40.02 kB / 0.8306 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.6205, allocations: 246.8 kB / 0.8308 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.6206, allocations: 34.53 kB / 0.8308 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.6207, allocations: 24.25 kB / 0.8309 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.6213, allocations: 460.8 kB / 0.8313 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6213, allocations: 40.66 kB / 0.8313 GB, free: 124 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6213, allocations: 0 / 0.8313 GB, free: 124 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.6216, allocations: 80.28 kB / 0.8314 GB, free: 84 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6217, allocations: 51.41 kB / 0.8315 GB, free: 20 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6218, allocations: 101.1 kB / 0.8316 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6218, allocations: 29.64 kB / 0.8316 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.6218, allocations: 86.02 kB / 0.8317 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.6219, allocations: 9.703 kB / 0.8317 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.6219, allocations: 18.56 kB / 0.8317 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.622, allocations: 311.6 kB / 0.832 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.945e-05/0.6221, allocations: 18.84 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.6222, allocations: 14.95 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.6224, allocations: 44.41 kB / 0.8321 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6224, allocations: 4.062 kB / 0.8321 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.6226, allocations: 67.88 kB / 0.8321 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6226, allocations: 3.594 kB / 0.8321 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6226, allocations: 6.609 kB / 0.8322 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6226, allocations: 0.9844 kB / 0.8322 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.6227, allocations: 7.969 kB / 0.8322 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6227, allocations: 3.938 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.6227, allocations: 19.89 kB / 0.8322 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.6228, allocations: 0 / 0.8322 GB, free: 15.37 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 8.851e-05/0.6228, allocations: 113.1 kB / 0.8323 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.6229, allocations: 4.594 kB / 0.8323 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.6231, allocations: 75.42 kB / 0.8324 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6231, allocations: 0 / 0.8324 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6231, allocations: 0 / 0.8324 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6231, allocations: 6.219 kB / 0.8324 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.6233, allocations: 157.9 kB / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6233, allocations: 2.219 kB / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.6233, allocations: 7.734 kB / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.6233, allocations: 0 / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6234, allocations: 2.266 kB / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.6234, allocations: 0 / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6234, allocations: 2.625 kB / 0.8325 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.6236, allocations: 172.6 kB / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.6237, allocations: 79.28 kB / 0.8328 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.6237, allocations: 0.6094 kB / 0.8328 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.6238, allocations: 5.781 kB / 0.8328 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.6238, allocations: 5.094 kB / 0.8328 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6238, allocations: 0 / 0.8328 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.6239, allocations: 86.88 kB / 0.8329 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6239, allocations: 4.031 kB / 0.8329 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002652/0.6241, allocations: 29.98 kB / 0.8329 GB, free: 14.67 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.0007135/0.6248, allocations: 0.7248 MB / 0.8336 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.6251, allocations: 39.39 kB / 0.8336 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6251, allocations: 0 / 0.8336 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.6252, allocations: 23.48 kB / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.6254, allocations: 6.797 kB / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.6259, allocations: 143.3 kB / 0.8338 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6262, allocations: 0.6744 MB / 0.8345 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.6262, allocations: 2.219 kB / 0.8345 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.6263, allocations: 13.17 kB / 0.8345 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.6263, allocations: 4.062 kB / 0.8345 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.6455, allocations: 1.81 MB / 0.8363 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.686, allocations: 11.53 kB / 0.8363 GB, free: 12.7 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.876279224990867] Failed to read output from testmodel.py, exit status != 0: 8.810125179996248 8.826062706 8.203637235 Calling exit ...