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.0006929/0.0006959, allocations: 93.17 kB / 15.7 MB, free: 472 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.000771/0.000771, allocations: 173 kB / 16.58 MB, free: 5.652 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.192/1.192, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6123/0.6123, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 12 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1154, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005275/0.116, allocations: 303.1 kB / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.1163, allocations: 177.6 kB / 0.5574 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-06/0.1164, allocations: 4 kB / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.918e-06/0.1164, allocations: 0 / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-06/0.1164, allocations: 0 / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1166, allocations: 43.89 kB / 0.5574 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.422e-05/0.1167, allocations: 4 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.1167, allocations: 0 / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.1167, allocations: 4 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.1167, allocations: 3.984 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-06/0.1167, allocations: 0 / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1169, allocations: 55.89 kB / 0.5575 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-06/0.1169, allocations: 8 kB / 0.5575 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.1169, allocations: 25.7 kB / 0.5575 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.083e-05/0.117, allocations: 27.95 kB / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.117, allocations: 0 / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.117, allocations: 0 / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.117, allocations: 0 / 0.5575 GB, free: 11 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.0002176/0.1172, allocations: 315.4 kB / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1173, allocations: 8.031 kB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.1173, allocations: 34.56 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.406e-05/0.1173, allocations: 3.938 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.357e-05/0.1174, allocations: 163.1 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1174, allocations: 7.984 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-06/0.1174, allocations: 3.938 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.859e-05/0.1175, allocations: 33.64 kB / 0.5581 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1175, allocations: 4 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-06/0.1175, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.1175, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.234e-05/0.1176, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.1177, allocations: 145.7 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.774e-05/0.1177, allocations: 26.55 kB / 0.5582 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.112e-05/0.1177, allocations: 4.859 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.1183, allocations: 457.5 kB / 0.5587 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1184, allocations: 34.56 kB / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1184, allocations: 0 / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.161e-05/0.1185, allocations: 41.64 kB / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1185, allocations: 55.34 kB / 0.5588 GB, free: 9.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.583e-05/0.1185, allocations: 89.86 kB / 0.5589 GB, free: 9.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1185, allocations: 29.64 kB / 0.5589 GB, free: 9.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.1186, allocations: 84.14 kB / 0.559 GB, free: 9.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1186, allocations: 128 / 0.559 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-06/0.1186, allocations: 4 kB / 0.559 GB, free: 9.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1187, allocations: 310.8 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.1187, allocations: 0 / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-06/0.1187, allocations: 0 / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.273e-05/0.1187, allocations: 4 kB / 0.5593 GB, free: 8.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1187, allocations: 0 / 0.5593 GB, free: 8.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.577e-05/0.1188, allocations: 41.59 kB / 0.5594 GB, free: 8.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1188, allocations: 4 kB / 0.5594 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.1188, allocations: 4.094 kB / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.1188, allocations: 4 kB / 0.5594 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.881e-05/0.1189, allocations: 3.953 kB / 0.5594 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1189, allocations: 0 / 0.5594 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.1189, allocations: 3.938 kB / 0.5594 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1189, allocations: 0 / 0.5594 GB, free: 8.797 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 4.985e-05/0.1189, allocations: 110.5 kB / 0.5595 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.119, allocations: 0 / 0.5595 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.119, allocations: 44.81 kB / 0.5595 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.119, allocations: 0 / 0.5595 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.119, allocations: 7.891 kB / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-06/0.119, allocations: 0 / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.1191, allocations: 149.7 kB / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1191, allocations: 0 / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-06/0.1191, allocations: 0 / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1191, allocations: 0 / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.1192, allocations: 0 / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1192, allocations: 7.984 kB / 0.5597 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1192, allocations: 4 kB / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.1192, allocations: 65.06 kB / 0.5597 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.1193, allocations: 81.09 kB / 0.5598 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-06/0.1193, allocations: 0 / 0.5598 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.1193, allocations: 0 / 0.5598 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.1193, allocations: 4 kB / 0.5598 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1193, allocations: 0 / 0.5598 GB, free: 8.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.1193, allocations: 75.28 kB / 0.5599 GB, free: 8.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1193, allocations: 4.031 kB / 0.5599 GB, free: 8.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.1195, allocations: 15.95 kB / 0.5599 GB, free: 8.133 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.000348/0.1199, allocations: 0.6134 MB / 0.5605 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.19e-05/0.1199, allocations: 7.938 kB / 0.5605 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1199, allocations: 0 / 0.5605 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.1199, allocations: 4 kB / 0.5605 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.1201, allocations: 0 / 0.5605 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.1203, allocations: 108.4 kB / 0.5606 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.1205, allocations: 0.677 MB / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.345e-06/0.1205, allocations: 128 / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.1205, allocations: 11.44 kB / 0.5613 GB, free: 6.617 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1205, allocations: 0 / 0.5613 GB, free: 6.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008915/0.1294, allocations: 0.9472 MB / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1296, allocations: 192.1 kB / 0.5624 GB, free: 5.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/1.528, allocations: 3.938 kB / 0.5624 GB, free: 5.559 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: