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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007683/0.007683, allocations: 98.27 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 194.5 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 283.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 91.84 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4028, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002414/0.4053, allocations: 1.43 MB / 0.7673 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.4059, allocations: 335.8 kB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.4059, allocations: 0 / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.406, allocations: 3.938 kB / 0.7676 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.406, allocations: 4 kB / 0.7676 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.4064, allocations: 99.72 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.4065, allocations: 31.86 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.906e-05/0.4066, allocations: 0 / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.4066, allocations: 15.97 kB / 0.7678 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.4067, allocations: 11.92 kB / 0.7678 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.4067, allocations: 4 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.4069, allocations: 119.8 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.4069, allocations: 3.984 kB / 0.7679 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.4069, allocations: 19.88 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.4071, allocations: 91.12 kB / 0.768 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4071, allocations: 0 / 0.768 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4071, allocations: 0 / 0.768 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4071, allocations: 0 / 0.768 GB, free: 1.68 MB / 0.5294 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.0004617/0.4076, allocations: 357 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4076, allocations: 8.031 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.4077, allocations: 30.75 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.4077, allocations: 4.938 kB / 0.7684 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.4078, allocations: 168.3 kB / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.4078, allocations: 384 / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.4079, allocations: 12.31 kB / 0.7686 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.408, allocations: 42.23 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.408, allocations: 7.938 kB / 0.7686 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.408, allocations: 4 kB / 0.7686 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.408, allocations: 0 / 0.7686 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.4082, allocations: 31.95 kB / 0.7687 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.4085, allocations: 244.9 kB / 0.7689 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.4086, allocations: 46.53 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.4087, allocations: 20.84 kB / 0.769 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.4094, allocations: 461.5 kB / 0.7694 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4094, allocations: 34.56 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4095, allocations: 0 / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003231/0.4098, allocations: 81.73 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.4098, allocations: 51.41 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.4099, allocations: 105.8 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4099, allocations: 25.7 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.41, allocations: 80.14 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.41, allocations: 11.88 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.41, allocations: 17.72 kB / 0.7698 GB, free: 15.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4101, allocations: 310.8 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.4102, allocations: 16.02 kB / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.4103, allocations: 19.98 kB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4104, allocations: 36.81 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4105, allocations: 11.88 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.4106, allocations: 65.72 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4107, allocations: 10.03 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.4107, allocations: 3.938 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4107, allocations: 0 / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.4108, allocations: 8 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4108, allocations: 3.984 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.4108, allocations: 4 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.4108, allocations: 7.938 kB / 0.7703 GB, free: 15.06 MB / 0.545 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.605e-05/0.4109, allocations: 117.8 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4109, allocations: 3.953 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.4111, allocations: 76.77 kB / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4112, allocations: 192 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4112, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4112, allocations: 3.984 kB / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.4114, allocations: 157.6 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4114, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.4114, allocations: 19.95 kB / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4114, allocations: 0 / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.4114, allocations: 0 / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4114, allocations: 0 / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.4114, allocations: 0 / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.4117, allocations: 165.2 kB / 0.7708 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.4117, allocations: 77.11 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.4117, allocations: 4 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.4118, allocations: 7.984 kB / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.4119, allocations: 4 kB / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4119, allocations: 0 / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.4119, allocations: 83.27 kB / 0.7709 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 0 / 0.7709 GB, free: 14.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000326/0.4123, allocations: 27.94 kB / 0.771 GB, free: 14.23 MB / 0.545 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.0006254/0.4129, allocations: 0.7396 MB / 0.7717 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.4131, allocations: 39.95 kB / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4131, allocations: 4 kB / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.4132, allocations: 19.86 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4135, allocations: 8.125 kB / 0.7718 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.4139, allocations: 147.1 kB / 0.7719 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4142, allocations: 0.6729 MB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.4142, allocations: 3.906 kB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.4142, allocations: 11.42 kB / 0.7726 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4142, allocations: 0 / 0.7726 GB, free: 12.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1878/0.6021, allocations: 1.762 MB / 0.7743 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.57, allocations: 4.562 kB / 0.7743 GB, free: 10.81 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)