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.001004/0.001004, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00225/0.00225, allocations: 279 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 98.5 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 86.98 MB / 0.6803 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002421/0.1446, allocations: 1.424 MB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005809/0.1452, allocations: 340.5 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1453, allocations: 0.6875 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.1453, allocations: 3.938 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.1454, allocations: 0.875 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1458, allocations: 103.7 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.1458, allocations: 24.58 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.1459, allocations: 13.39 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.146, allocations: 4 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.146, allocations: 15.92 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.146, allocations: 8 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1462, allocations: 119.8 kB / 0.6823 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1462, allocations: 11.97 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1463, allocations: 11.94 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1464, allocations: 84.09 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1464, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1465, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1465, allocations: 0 / 0.6824 GB, free: 14.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004076/0.1469, allocations: 351.4 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1469, allocations: 12.03 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.147, allocations: 34.75 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.147, allocations: 0.9375 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.1471, allocations: 168.4 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1471, allocations: 384 / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1471, allocations: 4.375 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1473, allocations: 54.17 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1473, allocations: 3.938 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1473, allocations: 0 / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1473, allocations: 4 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1475, allocations: 31.97 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1477, allocations: 248.9 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1479, allocations: 42.44 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.148, allocations: 24.91 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.1486, allocations: 461.5 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1487, allocations: 34.56 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.415e-06/0.1487, allocations: 4 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003407/0.149, allocations: 81.48 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.149, allocations: 59.41 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.1491, allocations: 101.8 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1491, allocations: 25.7 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.1492, allocations: 84.14 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1492, allocations: 15.91 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1492, allocations: 13.72 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.1493, allocations: 314.8 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.1494, allocations: 19.97 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.1495, allocations: 11.98 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1497, allocations: 44.89 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1497, allocations: 3.938 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.1499, allocations: 61.66 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1499, allocations: 8 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1499, allocations: 0 / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1499, allocations: 0 / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.15, allocations: 11.92 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.15, allocations: 8.031 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1501, allocations: 3.984 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1501, allocations: 4 kB / 0.6846 GB, free: 11.84 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 (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 6.906e-05/0.1501, allocations: 110.4 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1502, allocations: 0 / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.1504, allocations: 72.78 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1504, allocations: 4.031 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1504, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1504, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1506, allocations: 165.6 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1506, allocations: 0 / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.1507, allocations: 8 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1507, allocations: 0 / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1507, allocations: 0 / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1507, allocations: 7.922 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1507, allocations: 0 / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1509, allocations: 167.4 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.151, allocations: 85.09 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.151, allocations: 4 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1511, allocations: 11.88 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.1511, allocations: 3.984 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1511, allocations: 0 / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1512, allocations: 87.31 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 0 / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1514, allocations: 28 kB / 0.6854 GB, free: 11 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 (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.000573/0.152, allocations: 0.7319 MB / 0.6861 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1522, allocations: 35.97 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1522, allocations: 4.062 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.1523, allocations: 19.98 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1525, allocations: 3.984 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.1529, allocations: 139.2 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.1531, allocations: 0.6768 MB / 0.6869 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1532, allocations: 11.97 kB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.1532, allocations: 11.44 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1532, allocations: 0 / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/0.2306, allocations: 1.731 MB / 0.6886 GB, free: 7.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.433, allocations: 16.25 kB / 0.6887 GB, free: 7.602 MB / 494.1 MB (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)