Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",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.008654/0.008654, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002075/0.002075, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.031/1.031, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4246, allocations: 82.03 MB / 0.6754 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002457/0.4271, allocations: 1.431 MB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006078/0.4277, allocations: 256.8 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.4278, allocations: 0 / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.4278, allocations: 0 / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.4279, allocations: 5.125 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.4283, allocations: 67.31 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.4284, allocations: 23.92 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.4285, allocations: 7.328 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.4285, allocations: 11.38 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.4285, allocations: 6.297 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.4286, allocations: 2.281 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.4287, allocations: 64.78 kB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.4288, allocations: 7.938 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.4288, allocations: 10.27 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.429, allocations: 56.59 kB / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.429, allocations: 0 / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.429, allocations: 0 / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.429, allocations: 0 / 0.6773 GB, free: 15.44 MB / 0.5137 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.0005653/0.4296, allocations: 345.3 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4296, allocations: 9.688 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.4297, allocations: 30.75 kB / 0.6777 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.4297, allocations: 2.188 kB / 0.6777 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.4298, allocations: 170.8 kB / 0.6778 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4299, allocations: 8.375 kB / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.4299, allocations: 1.781 kB / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4301, allocations: 53.89 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4301, allocations: 3.938 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.4301, allocations: 0 / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4301, allocations: 1.094 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.4303, allocations: 38.7 kB / 0.6779 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.4307, allocations: 252.1 kB / 0.6782 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4308, allocations: 42.97 kB / 0.6782 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.4309, allocations: 23.59 kB / 0.6782 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/0.4316, allocations: 461.9 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4317, allocations: 31.62 kB / 0.6787 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4317, allocations: 0 / 0.6787 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.432, allocations: 81.36 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.4321, allocations: 55.41 kB / 0.6789 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.4322, allocations: 103.5 kB / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4322, allocations: 25.7 kB / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.4322, allocations: 85.17 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4323, allocations: 4.922 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4323, allocations: 19.84 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4324, allocations: 311.9 kB / 0.6794 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.4325, allocations: 21.97 kB / 0.6794 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.4326, allocations: 16.55 kB / 0.6794 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4328, allocations: 35.92 kB / 0.6794 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4328, allocations: 3.938 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001946/0.433, allocations: 68.94 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.433, allocations: 4.656 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.433, allocations: 1.156 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.433, allocations: 0 / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.4331, allocations: 14.33 kB / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4331, allocations: 3.938 kB / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.4332, allocations: 8.203 kB / 0.6795 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.4332, allocations: 0 / 0.6795 GB, free: 13.07 MB / 0.5137 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 8.946e-05/0.4333, allocations: 124.3 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4333, allocations: 1.344 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.4335, allocations: 65.59 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4335, allocations: 1.031 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4336, allocations: 0 / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4336, allocations: 1.344 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4337, allocations: 161.4 kB / 0.6799 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4337, allocations: 3.984 kB / 0.6799 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.4338, allocations: 10.44 kB / 0.6799 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4338, allocations: 3.938 kB / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4338, allocations: 1.125 kB / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4338, allocations: 0 / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4338, allocations: 4.812 kB / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.4341, allocations: 158.5 kB / 0.6801 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.4341, allocations: 86.31 kB / 0.6801 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4342, allocations: 1.125 kB / 0.6801 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.4342, allocations: 7.406 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4343, allocations: 5.266 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4343, allocations: 1.094 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.4343, allocations: 78.75 kB / 0.6802 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4343, allocations: 0 / 0.6802 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002308/0.4346, allocations: 17.62 kB / 0.6802 GB, free: 12.34 MB / 0.5137 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.0006361/0.4352, allocations: 0.7168 MB / 0.6809 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4354, allocations: 37.78 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4355, allocations: 3.938 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.4355, allocations: 23.16 kB / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.4358, allocations: 2.094 kB / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4362, allocations: 151.4 kB / 0.6812 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4365, allocations: 0.6802 MB / 0.6818 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.4365, allocations: 1.062 kB / 0.6818 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4366, allocations: 9.438 kB / 0.6818 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4366, allocations: 0 / 0.6818 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4602, allocations: 1.523 MB / 0.6833 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.265, allocations: 19.23 kB / 0.6833 GB, free: 9.879 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)