Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",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.001053/0.001052, allocations: 108 kB / 15.61 MB, free: 152 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.001014/0.001014, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9334/0.9334, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.14, allocations: 82.05 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001766/0.1418, allocations: 0.5688 MB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004407/0.1423, allocations: 191.4 kB / 0.5951 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.1423, allocations: 0 / 0.5951 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1424, allocations: 0 / 0.5951 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1424, allocations: 0 / 0.5951 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1427, allocations: 55.81 kB / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.097e-05/0.1428, allocations: 0 / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.1428, allocations: 0 / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.099e-05/0.1428, allocations: 0 / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.1428, allocations: 0 / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.1428, allocations: 4 kB / 0.5952 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.143, allocations: 59.88 kB / 0.5953 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-06/0.143, allocations: 7.984 kB / 0.5953 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.143, allocations: 0 / 0.5953 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.1431, allocations: 35.95 kB / 0.5953 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1431, allocations: 0 / 0.5953 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.806e-06/0.1431, allocations: 0 / 0.5953 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1432, allocations: 7.938 kB / 0.5953 GB, free: 8.535 MB / 0.4981 GB 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.0002707/0.1434, allocations: 311.6 kB / 0.5956 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1435, allocations: 8.031 kB / 0.5956 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1435, allocations: 30.75 kB / 0.5956 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.1435, allocations: 8.938 kB / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.1436, allocations: 164.4 kB / 0.5958 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.1436, allocations: 384 / 0.5958 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-06/0.1437, allocations: 384 / 0.5958 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.1437, allocations: 30.2 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1438, allocations: 3.938 kB / 0.5958 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1438, allocations: 7.938 kB / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1438, allocations: 0 / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.1438, allocations: 4 kB / 0.5959 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1439, allocations: 149.7 kB / 0.596 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.144, allocations: 18.61 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.144, allocations: 4.859 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/0.1447, allocations: 457.5 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1448, allocations: 34.56 kB / 0.5965 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1448, allocations: 0 / 0.5965 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.1449, allocations: 37.62 kB / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1449, allocations: 51.41 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.145, allocations: 93.86 kB / 0.5967 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.145, allocations: 25.7 kB / 0.5967 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.145, allocations: 84.12 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1451, allocations: 7.906 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1451, allocations: 13.84 kB / 0.5968 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.1452, allocations: 310.8 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.1452, allocations: 4 kB / 0.5971 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.1452, allocations: 3.938 kB / 0.5971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.1452, allocations: 12.84 kB / 0.5971 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1453, allocations: 4 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.394e-05/0.1453, allocations: 29.7 kB / 0.5971 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1453, allocations: 8.094 kB / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1453, allocations: 3.938 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1454, allocations: 0 / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-05/0.1454, allocations: 11.94 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1454, allocations: 0 / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-06/0.1454, allocations: 0 / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.1454, allocations: 0 / 0.5972 GB, free: 6.312 MB / 0.4981 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 (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 6.27e-05/0.1455, allocations: 113.8 kB / 0.5973 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.1455, allocations: 4 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.1456, allocations: 44.77 kB / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1456, allocations: 0 / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1456, allocations: 0 / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1456, allocations: 0 / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.1457, allocations: 145.7 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1457, allocations: 0 / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.1457, allocations: 4 kB / 0.5975 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1457, allocations: 0 / 0.5975 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1457, allocations: 3.938 kB / 0.5975 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1457, allocations: 3.984 kB / 0.5975 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1458, allocations: 4.031 kB / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.1458, allocations: 69 kB / 0.5975 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.1459, allocations: 77.11 kB / 0.5976 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.1459, allocations: 3.938 kB / 0.5976 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.1459, allocations: 0 / 0.5976 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-06/0.1459, allocations: 0 / 0.5976 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1459, allocations: 0 / 0.5976 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.1459, allocations: 83.31 kB / 0.5977 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1459, allocations: 0 / 0.5977 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002007/0.1461, allocations: 12 kB / 0.5977 GB, free: 5.656 MB / 0.4981 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 (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.0004027/0.1466, allocations: 0.6205 MB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.921e-05/0.1466, allocations: 4 kB / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1466, allocations: 0 / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.1466, allocations: 4 kB / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.1468, allocations: 4 kB / 0.5983 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.147, allocations: 110.6 kB / 0.5984 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1472, allocations: 0.673 MB / 0.5991 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.173e-05/0.1473, allocations: 4 kB / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.1473, allocations: 11.38 kB / 0.5991 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1473, allocations: 0 / 0.5991 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.747/1.894, allocations: 1.13 MB / 0.6002 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/11.9, allocations: 15.92 kB / 0.6002 GB, free: 3.062 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)