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.00167/0.00167, allocations: 96.03 kB / 15.68 MB, free: 488 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.001752/0.001752, allocations: 175.8 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.644/2.644, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.172/1.172, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006932/0.0006933, allocations: 11.98 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3114, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001112/0.3125, allocations: 299.1 kB / 0.557 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3132, allocations: 189.6 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.3132, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.3133, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.3133, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3138, allocations: 43.83 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.3138, allocations: 4 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.3139, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.3139, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.314, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.314, allocations: 4 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.3143, allocations: 63.92 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.3143, allocations: 3.938 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.3143, allocations: 29.7 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3145, allocations: 15.97 kB / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3145, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3145, allocations: 0 / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3145, allocations: 0 / 0.5574 GB, free: 11.09 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.0006461/0.3152, allocations: 319.4 kB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.3153, allocations: 12.03 kB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.3153, allocations: 30.56 kB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.3154, allocations: 4 kB / 0.5577 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3155, allocations: 159.1 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3156, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.3156, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3157, allocations: 29.66 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3157, allocations: 3.938 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3158, allocations: 4 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3158, allocations: 7.938 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.3158, allocations: 11.92 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.3161, allocations: 145.7 kB / 0.558 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.3161, allocations: 18.61 kB / 0.5581 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.3174, allocations: 457.5 kB / 0.5585 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.3175, allocations: 38.56 kB / 0.5585 GB, free: 9.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.3175, allocations: 0 / 0.5585 GB, free: 9.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002706/0.3178, allocations: 37.59 kB / 0.5586 GB, free: 9.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.3179, allocations: 51.41 kB / 0.5586 GB, free: 9.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.3179, allocations: 93.84 kB / 0.5587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3179, allocations: 25.7 kB / 0.5587 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3182, allocations: 84.27 kB / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.3182, allocations: 0 / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.3182, allocations: 0 / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003767/0.3186, allocations: 314.8 kB / 0.5591 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.3186, allocations: 4 kB / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.3187, allocations: 0 / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.3187, allocations: 0 / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3187, allocations: 0 / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/0.3188, allocations: 41.55 kB / 0.5592 GB, free: 8.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.3189, allocations: 8.094 kB / 0.5592 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3189, allocations: 3.984 kB / 0.5592 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3189, allocations: 0 / 0.5592 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.319, allocations: 4 kB / 0.5592 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.319, allocations: 3.953 kB / 0.5592 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.319, allocations: 3.984 kB / 0.5592 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3191, allocations: 0 / 0.5592 GB, free: 8.895 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.3192, allocations: 105.8 kB / 0.5593 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.3192, allocations: 0 / 0.5593 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3194, allocations: 48.81 kB / 0.5593 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3194, allocations: 0 / 0.5593 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3194, allocations: 0 / 0.5593 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3195, allocations: 3.953 kB / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3197, allocations: 145.7 kB / 0.5595 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3197, allocations: 3.938 kB / 0.5595 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.3197, allocations: 4 kB / 0.5595 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3197, allocations: 3.938 kB / 0.5595 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3197, allocations: 0 / 0.5595 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3197, allocations: 3.984 kB / 0.5595 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3198, allocations: 4.031 kB / 0.5595 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3199, allocations: 65.03 kB / 0.5596 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3201, allocations: 77.11 kB / 0.5596 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3201, allocations: 0 / 0.5596 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.3201, allocations: 0 / 0.5596 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.3201, allocations: 3.984 kB / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3202, allocations: 0 / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.3202, allocations: 79.31 kB / 0.5597 GB, free: 8.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3202, allocations: 0 / 0.5597 GB, free: 8.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.3206, allocations: 16 kB / 0.5597 GB, free: 8.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008089/0.3215, allocations: 0.6134 MB / 0.5603 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.101e-05/0.3215, allocations: 4 kB / 0.5603 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3216, allocations: 0 / 0.5603 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.155e-05/0.3216, allocations: 4 kB / 0.5603 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3217, allocations: 6.344 kB / 0.5603 GB, free: 7.578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.3222, allocations: 116.3 kB / 0.5604 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.3227, allocations: 0.6772 MB / 0.5611 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3227, allocations: 8 kB / 0.5611 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.3227, allocations: 7.438 kB / 0.5611 GB, free: 6.707 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3228, allocations: 0 / 0.5611 GB, free: 6.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3518, allocations: 0.9487 MB / 0.562 GB, free: 5.891 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004427/0.3523, allocations: 176.4 kB / 0.5622 GB, free: 5.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/3.546, allocations: 0 / 0.5622 GB, free: 5.652 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/linux/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) Environment - environmentSimulation: