Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_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.004432/0.004432, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001232/0.001232, allocations: 197.5 kB / 16.79 MB, free: 6.246 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6482/0.6482, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 67.78 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002645/0.1292, allocations: 1.485 MB / 0.5573 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.1298, allocations: 264 kB / 0.5575 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.1298, allocations: 0 / 0.5575 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.1299, allocations: 4 kB / 0.5575 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.1299, allocations: 7.938 kB / 0.5576 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1302, allocations: 46.89 kB / 0.5576 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.1303, allocations: 19.92 kB / 0.5576 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.1303, allocations: 8 kB / 0.5576 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.1304, allocations: 7.938 kB / 0.5576 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1304, allocations: 11.92 kB / 0.5576 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.1304, allocations: 4 kB / 0.5576 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1306, allocations: 75.86 kB / 0.5577 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1306, allocations: 4 kB / 0.5577 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1307, allocations: 11.92 kB / 0.5577 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1308, allocations: 43.92 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1308, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1308, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1308, allocations: 0 / 0.5578 GB, free: 8.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004298/0.1312, allocations: 351.7 kB / 0.5581 GB, free: 8.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1313, allocations: 12.03 kB / 0.5581 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.1313, allocations: 34.75 kB / 0.5582 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.1314, allocations: 0.9375 kB / 0.5582 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1315, allocations: 168.4 kB / 0.5583 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1315, allocations: 4.312 kB / 0.5583 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1315, allocations: 8.359 kB / 0.5583 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1317, allocations: 46.23 kB / 0.5584 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1317, allocations: 3.938 kB / 0.5584 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1317, allocations: 4 kB / 0.5584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1317, allocations: 0 / 0.5584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1319, allocations: 35.97 kB / 0.5584 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.1323, allocations: 248.9 kB / 0.5587 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1324, allocations: 38.5 kB / 0.5587 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.1325, allocations: 24.91 kB / 0.5587 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/0.1332, allocations: 461.4 kB / 0.5592 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1333, allocations: 30.56 kB / 0.5592 GB, free: 7.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1333, allocations: 0 / 0.5592 GB, free: 7.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.1336, allocations: 89.58 kB / 0.5593 GB, free: 6.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1337, allocations: 51.41 kB / 0.5593 GB, free: 6.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.1338, allocations: 101.8 kB / 0.5594 GB, free: 6.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1338, allocations: 25.7 kB / 0.5594 GB, free: 6.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1338, allocations: 84.14 kB / 0.5595 GB, free: 6.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1338, allocations: 3.906 kB / 0.5595 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1339, allocations: 21.84 kB / 0.5595 GB, free: 6.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.134, allocations: 314.8 kB / 0.5598 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.1341, allocations: 11.98 kB / 0.5599 GB, free: 6.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.1342, allocations: 15.98 kB / 0.5599 GB, free: 6.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1343, allocations: 48.81 kB / 0.5599 GB, free: 6.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1343, allocations: 7.875 kB / 0.5599 GB, free: 6.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.1345, allocations: 61.67 kB / 0.56 GB, free: 6.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1346, allocations: 4 kB / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1346, allocations: 0 / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1346, allocations: 0 / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.1347, allocations: 11.98 kB / 0.56 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1347, allocations: 0 / 0.56 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1347, allocations: 12.02 kB / 0.56 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1348, allocations: 0 / 0.56 GB, free: 6.113 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 (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 7.329e-05/0.1348, allocations: 117.8 kB / 0.5601 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.1349, allocations: 0 / 0.5601 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.1351, allocations: 68.72 kB / 0.5602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1351, allocations: 3.938 kB / 0.5602 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1351, allocations: 4 kB / 0.5602 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1351, allocations: 4.031 kB / 0.5602 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.1353, allocations: 165.5 kB / 0.5604 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1353, allocations: 0 / 0.5604 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.1353, allocations: 15.98 kB / 0.5604 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1353, allocations: 0 / 0.5604 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1354, allocations: 4 kB / 0.5604 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1354, allocations: 0 / 0.5604 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1354, allocations: 0 / 0.5604 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1356, allocations: 171.3 kB / 0.5605 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.1356, allocations: 77.11 kB / 0.5606 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1357, allocations: 0 / 0.5606 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.1357, allocations: 11.98 kB / 0.5606 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1358, allocations: 192 / 0.5606 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.1358, allocations: 4 kB / 0.5606 GB, free: 5.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.103e-05/0.1358, allocations: 79.27 kB / 0.5607 GB, free: 5.305 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1358, allocations: 4.031 kB / 0.5607 GB, free: 5.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1361, allocations: 23.98 kB / 0.5607 GB, free: 5.277 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 (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.0005709/0.1367, allocations: 0.7085 MB / 0.5614 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1369, allocations: 39.89 kB / 0.5615 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1369, allocations: 0 / 0.5615 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.137, allocations: 19.98 kB / 0.5615 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1372, allocations: 9.531 kB / 0.5615 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.1376, allocations: 148.8 kB / 0.5616 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1378, allocations: 0.6809 MB / 0.5623 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.1379, allocations: 0 / 0.5623 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1379, allocations: 15.42 kB / 0.5623 GB, free: 3.566 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1379, allocations: 0 / 0.5623 GB, free: 3.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.4335, allocations: 1.305 MB / 0.5636 GB, free: 2.348 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.4338, allocations: 191.2 kB / 0.5638 GB, free: 2.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.608, allocations: 0 / 0.5638 GB, free: 2.09 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)