Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_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.004903/0.004903, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001221/0.001221, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 292.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001913, allocations: 95.86 kB / 0.681 GB, free: 7.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 86.98 MB / 0.7659 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001731/0.4162, allocations: 0.5783 MB / 0.7665 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.4167, allocations: 187.4 kB / 0.7667 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.4167, allocations: 4 kB / 0.7667 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.4167, allocations: 0 / 0.7667 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.4168, allocations: 3.938 kB / 0.7667 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.4171, allocations: 47.89 kB / 0.7667 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.709e-05/0.4172, allocations: 0 / 0.7667 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.4172, allocations: 4 kB / 0.7667 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.4172, allocations: 0 / 0.7667 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.4173, allocations: 3.984 kB / 0.7667 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.4173, allocations: 3.938 kB / 0.7668 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.4174, allocations: 59.94 kB / 0.7668 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.4174, allocations: 0 / 0.7668 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.4175, allocations: 4 kB / 0.7668 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.4176, allocations: 31.89 kB / 0.7668 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4176, allocations: 0 / 0.7668 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4176, allocations: 0 / 0.7668 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4176, allocations: 0 / 0.7668 GB, free: 2.895 MB / 0.5294 GB 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.0002866/0.4179, allocations: 327.6 kB / 0.7672 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4179, allocations: 11.97 kB / 0.7672 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.418, allocations: 30.75 kB / 0.7672 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.418, allocations: 0.9375 kB / 0.7672 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.4181, allocations: 164.4 kB / 0.7674 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4181, allocations: 4.375 kB / 0.7674 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4181, allocations: 4.375 kB / 0.7674 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/0.4182, allocations: 26.27 kB / 0.7674 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4182, allocations: 3.938 kB / 0.7674 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.4182, allocations: 0 / 0.7674 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4182, allocations: 0 / 0.7674 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.4182, allocations: 4 kB / 0.7674 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.4184, allocations: 149.7 kB / 0.7675 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.4184, allocations: 30.5 kB / 0.7676 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.4185, allocations: 8.953 kB / 0.7676 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.4191, allocations: 445.5 kB / 0.768 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.4191, allocations: 38.56 kB / 0.768 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.4192, allocations: 7.922 kB / 0.768 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.4193, allocations: 45.56 kB / 0.7681 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.4193, allocations: 51.41 kB / 0.7681 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.758e-05/0.4194, allocations: 89.86 kB / 0.7682 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4194, allocations: 25.7 kB / 0.7682 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.4194, allocations: 80.14 kB / 0.7683 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4194, allocations: 6.719 kB / 0.7683 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.4194, allocations: 17.84 kB / 0.7683 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.4196, allocations: 314.8 kB / 0.7686 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.4196, allocations: 0 / 0.7686 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.4196, allocations: 0 / 0.7686 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.4196, allocations: 8.859 kB / 0.7687 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4196, allocations: 3.938 kB / 0.7687 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.897e-05/0.4197, allocations: 37.62 kB / 0.7687 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4197, allocations: 8 kB / 0.7687 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4197, allocations: 4.031 kB / 0.7687 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4197, allocations: 4 kB / 0.7687 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-05/0.4197, allocations: 0 / 0.7687 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4198, allocations: 0 / 0.7687 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-06/0.4198, allocations: 4 kB / 0.7687 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.4198, allocations: 0 / 0.7687 GB, free: 0.6523 MB / 0.5294 GB 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.387e-05/0.4198, allocations: 109.8 kB / 0.7688 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.4199, allocations: 3.984 kB / 0.7688 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.4199, allocations: 36.77 kB / 0.7689 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4199, allocations: 4.031 kB / 0.7689 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4199, allocations: 0 / 0.7689 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.4199, allocations: 4 kB / 0.7689 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.42, allocations: 149.7 kB / 0.769 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.42, allocations: 3.938 kB / 0.769 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.4201, allocations: 0 / 0.769 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4201, allocations: 0 / 0.769 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4201, allocations: 7.938 kB / 0.769 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4201, allocations: 0 / 0.769 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4201, allocations: 0 / 0.769 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.546e-05/0.4201, allocations: 57.12 kB / 0.7691 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.4202, allocations: 77.11 kB / 0.7691 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.4202, allocations: 7.938 kB / 0.7692 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.4202, allocations: 0 / 0.7692 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-06/0.4202, allocations: 0 / 0.7692 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.4202, allocations: 8 kB / 0.7692 GB, free: 96 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.4203, allocations: 75.28 kB / 0.7692 GB, free: 20 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4203, allocations: 32 / 0.7692 GB, free: 20 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001846/0.4205, allocations: 19.94 kB / 0.7693 GB, free: 0 / 0.5294 GB 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.0003882/0.4208, allocations: 0.6202 MB / 0.7699 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.634e-05/0.4209, allocations: 4 kB / 0.7699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4209, allocations: 0 / 0.7699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.4209, allocations: 4 kB / 0.7699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.4211, allocations: 6.438 kB / 0.7699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.4213, allocations: 118.7 kB / 0.77 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.4215, allocations: 0.669 MB / 0.7706 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.4215, allocations: 4 kB / 0.7706 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.4216, allocations: 11.56 kB / 0.7707 GB, free: 14.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4216, allocations: 0 / 0.7707 GB, free: 14.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.4363, allocations: 1.153 MB / 0.7718 GB, free: 13.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.354, allocations: 12.62 kB / 0.7718 GB, free: 13.41 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)