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.002008/0.002008, allocations: 99.41 kB / 16.4 MB, free: 6.461 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.002197/0.002197, allocations: 196 kB / 17.34 MB, free: 5.715 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8226/0.8226, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.34 kB / 0.5736 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 78.87 MB / 0.6506 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001635/0.138, allocations: 0.5727 MB / 0.6512 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004605/0.1385, allocations: 203.6 kB / 0.6513 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1385, allocations: 0 / 0.6513 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.1385, allocations: 4 kB / 0.6514 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.1385, allocations: 0 / 0.6514 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1389, allocations: 51.84 kB / 0.6514 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.1389, allocations: 3.984 kB / 0.6514 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.139, allocations: 3.984 kB / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.116e-05/0.139, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.613e-05/0.139, allocations: 4 kB / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.139, allocations: 0 / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1392, allocations: 55.89 kB / 0.6515 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-06/0.1392, allocations: 0 / 0.6515 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.1392, allocations: 7.984 kB / 0.6515 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1393, allocations: 44.11 kB / 0.6515 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1393, allocations: 0 / 0.6515 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1393, allocations: 0 / 0.6515 GB, free: 2.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1393, allocations: 0 / 0.6515 GB, free: 2.605 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003072/0.1397, allocations: 315.5 kB / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1397, allocations: 12.03 kB / 0.6518 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1397, allocations: 30.75 kB / 0.6519 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.714e-05/0.1398, allocations: 0.9375 kB / 0.6519 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1399, allocations: 168.3 kB / 0.652 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1399, allocations: 4.375 kB / 0.652 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.1399, allocations: 384 / 0.652 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.14, allocations: 34.27 kB / 0.6521 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.14, allocations: 3.938 kB / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.14, allocations: 0 / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.14, allocations: 0 / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.14, allocations: 0 / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1402, allocations: 145.7 kB / 0.6522 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.1402, allocations: 26.5 kB / 0.6522 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.1403, allocations: 16.89 kB / 0.6522 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007634/0.141, allocations: 453.5 kB / 0.6527 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1411, allocations: 30.56 kB / 0.6527 GB, free: 1.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1411, allocations: 4 kB / 0.6527 GB, free: 1.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.1412, allocations: 37.64 kB / 0.6527 GB, free: 1.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1412, allocations: 51.41 kB / 0.6528 GB, free: 1.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.1413, allocations: 93.86 kB / 0.6529 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1413, allocations: 25.7 kB / 0.6529 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1414, allocations: 84.08 kB / 0.653 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1414, allocations: 3.953 kB / 0.653 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1414, allocations: 9.719 kB / 0.653 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1416, allocations: 319 kB / 0.6533 GB, free: 468 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.1416, allocations: 4 kB / 0.6533 GB, free: 464 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-06/0.1416, allocations: 4 kB / 0.6533 GB, free: 460 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.1416, allocations: 8.859 kB / 0.6533 GB, free: 448 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1416, allocations: 4 kB / 0.6533 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.811e-05/0.1417, allocations: 29.7 kB / 0.6534 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1417, allocations: 9.812 kB / 0.6534 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1418, allocations: 4.031 kB / 0.6534 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1418, allocations: 8 kB / 0.6534 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.1418, allocations: 3.938 kB / 0.6534 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1418, allocations: 3.984 kB / 0.6534 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1418, allocations: 0 / 0.6534 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1419, allocations: 0 / 0.6534 GB, free: 380 kB / 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 (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 7.48e-05/0.1419, allocations: 109.8 kB / 0.6535 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.1419, allocations: 0 / 0.6535 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.142, allocations: 40.77 kB / 0.6535 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.142, allocations: 4.031 kB / 0.6535 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.142, allocations: 0 / 0.6535 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.142, allocations: 3.984 kB / 0.6535 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1422, allocations: 145.7 kB / 0.6537 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1422, allocations: 4 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.1422, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1422, allocations: 0 / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1422, allocations: 3.938 kB / 0.6537 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1422, allocations: 0 / 0.6537 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1422, allocations: 3.938 kB / 0.6537 GB, free: 0 / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.1423, allocations: 65.12 kB / 0.6537 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.1424, allocations: 81.09 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1424, allocations: 3.938 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.1424, allocations: 0 / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1424, allocations: 4 kB / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.1424, allocations: 3.938 kB / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.1424, allocations: 77.14 kB / 0.6539 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 0.6539 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001989/0.1427, allocations: 23.95 kB / 0.6539 GB, free: 15.71 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.000499/0.1432, allocations: 0.6163 MB / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.936e-05/0.1432, allocations: 4 kB / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1432, allocations: 0 / 0.6545 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-06/0.1432, allocations: 4 kB / 0.6545 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1434, allocations: 0 / 0.6545 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.1437, allocations: 121.5 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.144, allocations: 0.669 MB / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.144, allocations: 4 kB / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.144, allocations: 15.5 kB / 0.6553 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.144, allocations: 0 / 0.6553 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1657, allocations: 1.138 MB / 0.6564 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.053, allocations: 5.297 kB / 0.6564 GB, free: 13.12 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)