Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.004705/0.004705, allocations: 100.5 kB / 15.87 MB, free: 6.312 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.001246/0.001246, allocations: 199 kB / 16.79 MB, free: 6.242 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.253/1.253, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6722/0.6722, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.88 kB / 493 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 76.19 MB / 0.5559 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001519/0.1159, allocations: 0.6278 MB / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000443/0.1163, allocations: 217.9 kB / 0.5567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-06/0.1163, allocations: 0 / 0.5567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1164, allocations: 0 / 0.5567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.1164, allocations: 0 / 0.5567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1166, allocations: 35.91 kB / 0.5567 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.567e-05/0.1167, allocations: 7.984 kB / 0.5567 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.1167, allocations: 0 / 0.5567 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-06/0.1167, allocations: 0 / 0.5567 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.386e-05/0.1167, allocations: 3.938 kB / 0.5567 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-06/0.1167, allocations: 0 / 0.5567 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1169, allocations: 75.88 kB / 0.5568 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-06/0.1169, allocations: 0 / 0.5568 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.1169, allocations: 3.938 kB / 0.5568 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.117, allocations: 39.88 kB / 0.5568 GB, free: 9.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.117, allocations: 0 / 0.5568 GB, free: 9.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1171, allocations: 0 / 0.5568 GB, free: 9.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.1171, allocations: 0 / 0.5568 GB, free: 9.676 MB / 430.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.0002297/0.1173, allocations: 319.6 kB / 0.5571 GB, free: 9.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1173, allocations: 8.031 kB / 0.5572 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1174, allocations: 30.75 kB / 0.5572 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.1174, allocations: 4.938 kB / 0.5572 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/0.1175, allocations: 160.4 kB / 0.5573 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.1175, allocations: 4.375 kB / 0.5573 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-06/0.1175, allocations: 384 / 0.5573 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.1176, allocations: 38.19 kB / 0.5574 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1176, allocations: 3.938 kB / 0.5574 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.1176, allocations: 0 / 0.5574 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1176, allocations: 0 / 0.5574 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.1176, allocations: 4 kB / 0.5574 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.1177, allocations: 149.7 kB / 0.5575 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.058e-05/0.1178, allocations: 22.59 kB / 0.5576 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.1178, allocations: 8.859 kB / 0.5576 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/0.1185, allocations: 457.5 kB / 0.558 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1185, allocations: 34.5 kB / 0.558 GB, free: 8.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1185, allocations: 0 / 0.558 GB, free: 8.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.1186, allocations: 45.62 kB / 0.5581 GB, free: 8.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1186, allocations: 51.41 kB / 0.5581 GB, free: 8.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.662e-05/0.1187, allocations: 89.86 kB / 0.5582 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1187, allocations: 25.7 kB / 0.5582 GB, free: 7.949 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.1187, allocations: 80.27 kB / 0.5583 GB, free: 7.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1187, allocations: 7.906 kB / 0.5583 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.1188, allocations: 13.72 kB / 0.5583 GB, free: 7.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.1189, allocations: 310.8 kB / 0.5586 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-06/0.1189, allocations: 0 / 0.5586 GB, free: 7.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.1189, allocations: 0 / 0.5586 GB, free: 7.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.1189, allocations: 16.8 kB / 0.5586 GB, free: 7.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1189, allocations: 7.922 kB / 0.5587 GB, free: 7.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.633e-05/0.119, allocations: 33.77 kB / 0.5587 GB, free: 7.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.119, allocations: 8 kB / 0.5587 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.119, allocations: 3.938 kB / 0.5587 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.119, allocations: 3.938 kB / 0.5587 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.74e-05/0.119, allocations: 0 / 0.5587 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.119, allocations: 0 / 0.5587 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-06/0.1191, allocations: 0 / 0.5587 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.1191, allocations: 4 kB / 0.5587 GB, free: 7.441 MB / 430.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 5.278e-05/0.1191, allocations: 105.8 kB / 0.5588 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.1191, allocations: 8.016 kB / 0.5588 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.1192, allocations: 44.7 kB / 0.5589 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1192, allocations: 0 / 0.5589 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1192, allocations: 0 / 0.5589 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1192, allocations: 4 kB / 0.5589 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.448e-05/0.1193, allocations: 145.7 kB / 0.559 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1193, allocations: 0 / 0.559 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.1193, allocations: 0 / 0.559 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1193, allocations: 0 / 0.559 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1193, allocations: 7.938 kB / 0.559 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1193, allocations: 4.031 kB / 0.559 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1194, allocations: 0 / 0.559 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.767e-05/0.1194, allocations: 61.06 kB / 0.5591 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.1195, allocations: 77.11 kB / 0.5591 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1195, allocations: 7.938 kB / 0.5591 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.1195, allocations: 4 kB / 0.5592 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.1195, allocations: 0 / 0.5592 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1195, allocations: 32 / 0.5592 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.996e-05/0.1195, allocations: 79.28 kB / 0.5592 GB, free: 6.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1195, allocations: 0 / 0.5592 GB, free: 6.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.1197, allocations: 16 kB / 0.5592 GB, free: 6.789 MB / 430.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.0003658/0.1201, allocations: 0.6166 MB / 0.5598 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.768e-05/0.1202, allocations: 11.94 kB / 0.5599 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1202, allocations: 0 / 0.5599 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.1202, allocations: 0 / 0.5599 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1203, allocations: 9.766 kB / 0.5599 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.1205, allocations: 108.5 kB / 0.56 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.1207, allocations: 0.6731 MB / 0.5606 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.528e-06/0.1208, allocations: 0 / 0.5606 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.1208, allocations: 7.438 kB / 0.5606 GB, free: 5.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1208, allocations: 4 kB / 0.5606 GB, free: 5.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.2231, allocations: 1.005 MB / 0.5616 GB, free: 4.371 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.2234, allocations: 194.9 kB / 0.5618 GB, free: 4.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.805, allocations: 0 / 0.5618 GB, free: 4.117 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)