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.001139/0.001139, allocations: 102.3 kB / 15.98 MB, free: 6.344 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.001048/0.001048, allocations: 195 kB / 16.91 MB, free: 6.188 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.124/1.124, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6238/0.6238, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 71.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.243, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001384/0.2444, allocations: 0.6262 MB / 0.5566 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.2448, allocations: 193.3 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-06/0.2448, allocations: 0 / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.2448, allocations: 0.625 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-06/0.2448, allocations: 5.375 kB / 0.5568 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2451, allocations: 54.02 kB / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.638e-05/0.2452, allocations: 1.594 kB / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.2452, allocations: 3.984 kB / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.102e-05/0.2452, allocations: 1.469 kB / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.457e-05/0.2453, allocations: 1.875 kB / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.94e-06/0.2453, allocations: 0 / 0.5569 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2454, allocations: 63.38 kB / 0.557 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.2454, allocations: 1.922 kB / 0.557 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.2454, allocations: 3.938 kB / 0.557 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.2455, allocations: 41.28 kB / 0.557 GB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2455, allocations: 0 / 0.557 GB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2455, allocations: 2.25 kB / 0.557 GB, free: 35.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2455, allocations: 0 / 0.557 GB, free: 35.8 MB / 446.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.0001705/0.2457, allocations: 316.8 kB / 0.5573 GB, free: 35.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2458, allocations: 9.906 kB / 0.5573 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.172e-05/0.2458, allocations: 30.75 kB / 0.5573 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.2458, allocations: 8.516 kB / 0.5574 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.35e-05/0.2458, allocations: 161.1 kB / 0.5575 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2459, allocations: 7.25 kB / 0.5575 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-06/0.2459, allocations: 1.844 kB / 0.5575 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.453e-05/0.2459, allocations: 40.06 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.246, allocations: 3.938 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.246, allocations: 1.438 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-06/0.246, allocations: 0 / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.246, allocations: 1.469 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.304e-05/0.2461, allocations: 143.9 kB / 0.5577 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.472e-05/0.2461, allocations: 18.89 kB / 0.5577 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.077e-05/0.2461, allocations: 6.203 kB / 0.5577 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.2467, allocations: 460.1 kB / 0.5582 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.2467, allocations: 41 kB / 0.5582 GB, free: 34.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2467, allocations: 0 / 0.5582 GB, free: 34.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.948e-05/0.2468, allocations: 42.22 kB / 0.5582 GB, free: 34.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.417e-05/0.2468, allocations: 51.41 kB / 0.5583 GB, free: 34.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.14e-05/0.2468, allocations: 90.8 kB / 0.5584 GB, free: 34.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.2468, allocations: 25.7 kB / 0.5584 GB, free: 34.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-06/0.2469, allocations: 83.55 kB / 0.5585 GB, free: 34.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2469, allocations: 0 / 0.5585 GB, free: 34.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.2469, allocations: 13.2 kB / 0.5585 GB, free: 34.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.2469, allocations: 310.8 kB / 0.5588 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.247, allocations: 4.781 kB / 0.5588 GB, free: 33.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.247, allocations: 1.219 kB / 0.5588 GB, free: 33.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.839e-05/0.247, allocations: 15.27 kB / 0.5588 GB, free: 33.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.247, allocations: 1.344 kB / 0.5588 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.613e-05/0.247, allocations: 32.55 kB / 0.5588 GB, free: 33.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.247, allocations: 4.969 kB / 0.5588 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2471, allocations: 5.438 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2471, allocations: 1.125 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.091e-05/0.2471, allocations: 2.219 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2471, allocations: 2.5 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-06/0.2471, allocations: 1.094 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.2471, allocations: 0.9844 kB / 0.5589 GB, free: 33.73 MB / 446.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 3.176e-05/0.2472, allocations: 107.9 kB / 0.559 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-06/0.2472, allocations: 7 kB / 0.559 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.2472, allocations: 47.69 kB / 0.559 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2472, allocations: 3.938 kB / 0.559 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2473, allocations: 1.156 kB / 0.559 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2473, allocations: 1.312 kB / 0.559 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.484e-05/0.2473, allocations: 145 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2473, allocations: 3.938 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.2473, allocations: 4.203 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2473, allocations: 0 / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2473, allocations: 5.312 kB / 0.5592 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2473, allocations: 0.5625 kB / 0.5592 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2474, allocations: 0.9062 kB / 0.5592 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.221e-05/0.2474, allocations: 63.53 kB / 0.5592 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.2474, allocations: 78.97 kB / 0.5593 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.2474, allocations: 4.875 kB / 0.5593 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-06/0.2474, allocations: 0.8125 kB / 0.5593 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-06/0.2475, allocations: 1.703 kB / 0.5593 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.2475, allocations: 5.562 kB / 0.5593 GB, free: 33.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.548e-06/0.2475, allocations: 76.92 kB / 0.5594 GB, free: 33.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2475, allocations: 0 / 0.5594 GB, free: 33.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.2477, allocations: 16.39 kB / 0.5594 GB, free: 33.12 MB / 446.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.0002383/0.2479, allocations: 0.6169 MB / 0.56 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.324e-05/0.248, allocations: 9.203 kB / 0.56 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.248, allocations: 0.5938 kB / 0.56 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-06/0.248, allocations: 8.25 kB / 0.56 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.2481, allocations: 1.938 kB / 0.56 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.2483, allocations: 106 kB / 0.5601 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.2484, allocations: 0.6715 MB / 0.5608 GB, free: 31.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.606e-06/0.2484, allocations: 1.484 kB / 0.5608 GB, free: 31.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.2484, allocations: 8.812 kB / 0.5608 GB, free: 31.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2484, allocations: 0.5 kB / 0.5608 GB, free: 31.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4546/0.703, allocations: 1.049 MB / 0.5618 GB, free: 31.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001059/0.7031, allocations: 194.5 kB / 0.562 GB, free: 31.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.46, allocations: 0 / 0.562 GB, free: 31.23 MB / 446.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)