Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",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.001198/0.001198, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001031/0.001031, allocations: 194.6 kB / 16.26 MB, free: 6.633 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 282.6 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.835/0.835, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 101.3 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001475/0.1191, allocations: 0.6317 MB / 0.6804 GB, free: 328 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004633/0.1196, allocations: 305.7 kB / 0.6807 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-06/0.1196, allocations: 0 / 0.6807 GB, free: 24 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1197, allocations: 7.094 kB / 0.6807 GB, free: 20 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.837e-06/0.1197, allocations: 3.938 kB / 0.6807 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.12, allocations: 87.88 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.551e-05/0.1201, allocations: 3.906 kB / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.1201, allocations: 4 kB / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-06/0.1201, allocations: 0 / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.268e-05/0.1201, allocations: 0 / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-06/0.1201, allocations: 0 / 0.6808 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.1204, allocations: 144.4 kB / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-06/0.1204, allocations: 0 / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.1204, allocations: 4.875 kB / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1205, allocations: 71.83 kB / 0.681 GB, free: 15.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1205, allocations: 0.5312 kB / 0.681 GB, free: 15.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1205, allocations: 0.9375 kB / 0.681 GB, free: 15.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1205, allocations: 0 / 0.681 GB, free: 15.71 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002235/0.1208, allocations: 328.7 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1208, allocations: 15.97 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.1208, allocations: 30.75 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.511e-05/0.1209, allocations: 4.938 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.1209, allocations: 160.4 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1209, allocations: 384 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-06/0.1209, allocations: 384 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.378e-05/0.121, allocations: 42.19 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.121, allocations: 3.938 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.121, allocations: 0 / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.121, allocations: 0 / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.1211, allocations: 3.984 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.793e-05/0.1212, allocations: 149.7 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.571e-05/0.1212, allocations: 18.52 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.1212, allocations: 8.953 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.1218, allocations: 477.4 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1219, allocations: 34.5 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1219, allocations: 0 / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 8.694e-05/0.122, allocations: 37.64 kB / 0.6822 GB, free: 14.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.122, allocations: 55.41 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.961e-05/0.122, allocations: 89.86 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1221, allocations: 29.83 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.1221, allocations: 80.14 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1221, allocations: 4.266 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1221, allocations: 9.719 kB / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.1222, allocations: 318.8 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.1222, allocations: 0 / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.1222, allocations: 3.938 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.1223, allocations: 12.92 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1223, allocations: 0 / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.952e-05/0.1223, allocations: 29.7 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.1223, allocations: 4 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1223, allocations: 11.92 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.1223, allocations: 0 / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.1224, allocations: 0 / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-06/0.1224, allocations: 0 / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.1224, allocations: 3.938 kB / 0.6828 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1224, allocations: 7.938 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 4.85e-05/0.1225, allocations: 110.5 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.1225, allocations: 4 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.1225, allocations: 48.59 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1225, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1225, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.1225, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.1226, allocations: 145.7 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1226, allocations: 4 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.1226, allocations: 0 / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1226, allocations: 4.031 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1227, allocations: 7.922 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1227, allocations: 4 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1227, allocations: 0 / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.787e-05/0.1227, allocations: 57.08 kB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.1228, allocations: 77.11 kB / 0.6833 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.1228, allocations: 3.938 kB / 0.6833 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.1228, allocations: 4.031 kB / 0.6833 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-06/0.1228, allocations: 11.92 kB / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.1228, allocations: 0 / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.912e-05/0.1228, allocations: 75.28 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1228, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.123, allocations: 24 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0003716/0.1234, allocations: 0.6359 MB / 0.684 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.501e-05/0.1234, allocations: 3.938 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1235, allocations: 4.062 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.1235, allocations: 4 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.1236, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.1238, allocations: 118.7 kB / 0.6842 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.124, allocations: 0.6729 MB / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.035e-06/0.124, allocations: 0 / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.124, allocations: 7.438 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.124, allocations: 3.938 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.58/3.704, allocations: 1.326 MB / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/3.704, allocations: 213.7 kB / 0.6863 GB, free: 9.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/5.427, allocations: 0 / 0.6863 GB, free: 9.785 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)