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.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001117/0.001117, 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.001144/0.001144, allocations: 193.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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 100.8 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1362, allocations: 86.97 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002291/0.1385, allocations: 1.432 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000587/0.1391, allocations: 362.2 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1391, allocations: 0 / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1392, allocations: 0 / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.1392, allocations: 4.719 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.1396, allocations: 109.4 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.1397, allocations: 19.94 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.1397, allocations: 7.984 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.1398, allocations: 12.81 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.1398, allocations: 11.97 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1398, allocations: 5.125 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.14, allocations: 123.8 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1401, allocations: 3.984 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.1401, allocations: 12.88 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1402, allocations: 92.02 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1403, allocations: 0 / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1403, allocations: 0.5312 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1403, allocations: 4 kB / 0.6824 GB, free: 14.38 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.0004045/0.1407, allocations: 355.4 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1407, allocations: 8.031 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.1408, allocations: 38.75 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.1408, allocations: 0.9375 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.1409, allocations: 164.4 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1409, allocations: 4.375 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.1409, allocations: 384 / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1411, allocations: 58.17 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1411, allocations: 3.938 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1411, allocations: 0 / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1411, allocations: 0 / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1413, allocations: 31.97 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1415, allocations: 249 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1417, allocations: 42.5 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.1417, allocations: 24.78 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/0.1424, allocations: 477.4 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1424, allocations: 34.5 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1425, allocations: 0 / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003251/0.1428, allocations: 85.55 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1428, allocations: 55.53 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.1429, allocations: 101.8 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1429, allocations: 25.7 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1429, allocations: 88.12 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.143, allocations: 7.844 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.143, allocations: 13.72 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.1431, allocations: 314.8 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.1432, allocations: 19.92 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.1433, allocations: 19.97 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1434, allocations: 36.83 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1434, allocations: 3.938 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.1436, allocations: 69.72 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1436, allocations: 4 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1436, allocations: 0 / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1436, allocations: 0 / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.1437, allocations: 11.98 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1437, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.1438, allocations: 7.938 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1438, allocations: 0 / 0.6847 GB, free: 11.74 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.333e-05/0.1438, allocations: 114.4 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1439, allocations: 12.02 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.1441, allocations: 64.78 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1441, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1441, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1441, allocations: 4 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1443, allocations: 161.6 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1443, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.1443, allocations: 11.98 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1443, allocations: 4.031 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.1443, allocations: 0 / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1444, allocations: 8 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1444, allocations: 3.938 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1446, allocations: 163.4 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1446, allocations: 81.02 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1446, allocations: 4.031 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1447, allocations: 11.98 kB / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.1447, allocations: 0 / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1448, allocations: 0 / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.1448, allocations: 83.27 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1448, allocations: 3.938 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.145, allocations: 28 kB / 0.6854 GB, free: 10.9 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.0005637/0.1456, allocations: 0.7358 MB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1458, allocations: 39.95 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1458, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.1459, allocations: 15.98 kB / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1461, allocations: 1.891 kB / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.1465, allocations: 159.3 kB / 0.6863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1467, allocations: 0.6729 MB / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.1467, allocations: 3.984 kB / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1468, allocations: 7.438 kB / 0.687 GB, free: 9.172 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1468, allocations: 0 / 0.687 GB, free: 9.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/0.3644, allocations: 1.758 MB / 0.6887 GB, free: 7.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.131, allocations: 14.22 kB / 0.6887 GB, free: 7.477 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)