Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_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.0009011/0.0009011, allocations: 97.64 kB / 16.02 MB, free: 80 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.0009089/0.000909, allocations: 181.9 kB / 16.92 MB, free: 6.898 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.69/0.69, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 13.56 kB / 496 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 77.53 MB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009331/0.1457, allocations: 307.8 kB / 0.5603 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.1465, allocations: 194.1 kB / 0.5605 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.1465, allocations: 0 / 0.5605 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1465, allocations: 0 / 0.5605 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.1465, allocations: 3.938 kB / 0.5605 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.147, allocations: 39.91 kB / 0.5606 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.147, allocations: 4 kB / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.1471, allocations: 4 kB / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.1471, allocations: 0 / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.1472, allocations: 0 / 0.5606 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.1472, allocations: 4 kB / 0.5606 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1474, allocations: 63.86 kB / 0.5606 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1474, allocations: 4 kB / 0.5607 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1475, allocations: 29.7 kB / 0.5607 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1476, allocations: 39.88 kB / 0.5607 GB, free: 8.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1476, allocations: 0 / 0.5607 GB, free: 8.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1476, allocations: 0 / 0.5607 GB, free: 8.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1476, allocations: 0 / 0.5607 GB, free: 8.211 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.0003252/0.148, allocations: 311.6 kB / 0.561 GB, free: 7.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.148, allocations: 12.03 kB / 0.561 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1481, allocations: 38.75 kB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1481, allocations: 0.9375 kB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1482, allocations: 164.4 kB / 0.5612 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1482, allocations: 4.312 kB / 0.5612 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1483, allocations: 384 / 0.5612 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1484, allocations: 30.27 kB / 0.5613 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1484, allocations: 3.938 kB / 0.5613 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1484, allocations: 0 / 0.5613 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1484, allocations: 0 / 0.5613 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.1485, allocations: 11.92 kB / 0.5613 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1486, allocations: 145.7 kB / 0.5614 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.614e-05/0.1487, allocations: 22.61 kB / 0.5614 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1487, allocations: 4.859 kB / 0.5614 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008215/0.1495, allocations: 453.5 kB / 0.5619 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1496, allocations: 34.56 kB / 0.5619 GB, free: 6.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1496, allocations: 0 / 0.5619 GB, free: 6.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.1497, allocations: 41.56 kB / 0.5619 GB, free: 6.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1498, allocations: 55.41 kB / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.1498, allocations: 93.8 kB / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1499, allocations: 25.7 kB / 0.5621 GB, free: 6.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.1499, allocations: 84.27 kB / 0.5622 GB, free: 6.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1499, allocations: 3.906 kB / 0.5622 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.15, allocations: 9.719 kB / 0.5622 GB, free: 6.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1501, allocations: 310.8 kB / 0.5625 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.1501, allocations: 8 kB / 0.5625 GB, free: 6.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.1501, allocations: 0 / 0.5625 GB, free: 6.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.1501, allocations: 8.844 kB / 0.5625 GB, free: 6.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1501, allocations: 4 kB / 0.5625 GB, free: 6.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.955e-05/0.1502, allocations: 37.7 kB / 0.5626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1502, allocations: 4 kB / 0.5626 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1502, allocations: 3.938 kB / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1503, allocations: 0 / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.1503, allocations: 8 kB / 0.5626 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1503, allocations: 0 / 0.5626 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.1503, allocations: 0 / 0.5626 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1503, allocations: 0 / 0.5626 GB, free: 5.988 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 6.902e-05/0.1504, allocations: 105.9 kB / 0.5627 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1504, allocations: 15.98 kB / 0.5627 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.1505, allocations: 40.7 kB / 0.5627 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1506, allocations: 3.938 kB / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1506, allocations: 0 / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1506, allocations: 0 / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.1507, allocations: 145.7 kB / 0.5629 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1507, allocations: 0 / 0.5629 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.1507, allocations: 4 kB / 0.5629 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1507, allocations: 0 / 0.5629 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1507, allocations: 3.969 kB / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1507, allocations: 4 kB / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1507, allocations: 0 / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.864e-05/0.1508, allocations: 61.12 kB / 0.5629 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1509, allocations: 77.11 kB / 0.563 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1509, allocations: 3.938 kB / 0.563 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.1509, allocations: 0 / 0.563 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1509, allocations: 3.938 kB / 0.563 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1509, allocations: 4.031 kB / 0.563 GB, free: 5.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.151, allocations: 79.28 kB / 0.5631 GB, free: 5.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 0.5631 GB, free: 5.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1512, allocations: 12 kB / 0.5631 GB, free: 5.336 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.000603/0.1519, allocations: 0.6166 MB / 0.5637 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.1519, allocations: 8 kB / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.152, allocations: 0 / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.152, allocations: 7.938 kB / 0.5637 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1521, allocations: 1.875 kB / 0.5637 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.1524, allocations: 116.5 kB / 0.5638 GB, free: 4.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1527, allocations: 0.6692 MB / 0.5645 GB, free: 3.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.1527, allocations: 4 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.1528, allocations: 7.438 kB / 0.5645 GB, free: 3.812 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1528, allocations: 0 / 0.5645 GB, free: 3.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.169, allocations: 0.9451 MB / 0.5654 GB, free: 3 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.1692, allocations: 194.4 kB / 0.5656 GB, free: 2.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.918, allocations: 3.938 kB / 0.5656 GB, free: 2.742 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)