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.007645/0.007645, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001966/0.001966, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 284.8 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.21/1.21, allocations: 178.6 MB / 0.5074 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 99.86 kB / 0.6943 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4232, allocations: 89.13 MB / 0.7814 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001397/0.4247, allocations: 0.5825 MB / 0.782 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.4251, allocations: 190 kB / 0.7821 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.4251, allocations: 0 / 0.7821 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.4251, allocations: 5.25 kB / 0.7821 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.4251, allocations: 0 / 0.7821 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.4254, allocations: 49.47 kB / 0.7822 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.4255, allocations: 1.375 kB / 0.7822 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.4255, allocations: 7.922 kB / 0.7822 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.104e-05/0.4255, allocations: 1.125 kB / 0.7822 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.4256, allocations: 3.984 kB / 0.7822 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.4256, allocations: 1.312 kB / 0.7822 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.4257, allocations: 53.17 kB / 0.7823 GB, free: 488 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.4258, allocations: 0 / 0.7823 GB, free: 488 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.4258, allocations: 5.062 kB / 0.7823 GB, free: 484 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.4259, allocations: 36.17 kB / 0.7823 GB, free: 464 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4259, allocations: 4 kB / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4259, allocations: 0 / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4259, allocations: 3.938 kB / 0.7823 GB, free: 456 kB / 0.545 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.0002096/0.4261, allocations: 328.6 kB / 0.7826 GB, free: 84 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4262, allocations: 8.625 kB / 0.7826 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.877e-05/0.4262, allocations: 30.75 kB / 0.7827 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.4262, allocations: 2.625 kB / 0.7827 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4263, allocations: 160.4 kB / 0.7828 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4263, allocations: 384 / 0.7828 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.4264, allocations: 6.094 kB / 0.7828 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/0.4264, allocations: 28.02 kB / 0.7828 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4265, allocations: 3.938 kB / 0.7828 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4265, allocations: 3.984 kB / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4265, allocations: 0 / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.4265, allocations: 1.688 kB / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.4266, allocations: 151.3 kB / 0.783 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.4267, allocations: 20.3 kB / 0.783 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.4267, allocations: 10.36 kB / 0.783 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/0.4274, allocations: 455.5 kB / 0.7835 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4275, allocations: 30.56 kB / 0.7835 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4275, allocations: 1 kB / 0.7835 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.4276, allocations: 41.86 kB / 0.7835 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.4276, allocations: 52.5 kB / 0.7836 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.4277, allocations: 89.86 kB / 0.7837 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4277, allocations: 25.7 kB / 0.7837 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4277, allocations: 85.45 kB / 0.7838 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4278, allocations: 7.938 kB / 0.7838 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.4278, allocations: 11.19 kB / 0.7838 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4279, allocations: 312.3 kB / 0.7841 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.4279, allocations: 4 kB / 0.7841 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.428, allocations: 5.5 kB / 0.7841 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.428, allocations: 7.672 kB / 0.7841 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.428, allocations: 0 / 0.7841 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.634e-05/0.4281, allocations: 38.67 kB / 0.7841 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.4281, allocations: 6.219 kB / 0.7841 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4281, allocations: 7.922 kB / 0.7842 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4281, allocations: 0 / 0.7842 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.4281, allocations: 5.562 kB / 0.7842 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4281, allocations: 5.469 kB / 0.7842 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.4282, allocations: 0 / 0.7842 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.4282, allocations: 3.938 kB / 0.7842 GB, free: 14.3 MB / 0.5606 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.73e-05/0.4282, allocations: 107.2 kB / 0.7843 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-06/0.4283, allocations: 1.406 kB / 0.7843 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/0.4283, allocations: 44.28 kB / 0.7843 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4283, allocations: 1.531 kB / 0.7843 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4284, allocations: 7.969 kB / 0.7843 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4284, allocations: 0 / 0.7843 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.4285, allocations: 143.1 kB / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4285, allocations: 0 / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.4285, allocations: 2.844 kB / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4285, allocations: 0 / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.4285, allocations: 3.938 kB / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4285, allocations: 3.984 kB / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4285, allocations: 1.188 kB / 0.7845 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.933e-05/0.4286, allocations: 58.42 kB / 0.7845 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.4286, allocations: 78.23 kB / 0.7846 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.4287, allocations: 3.938 kB / 0.7846 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.4287, allocations: 1.25 kB / 0.7846 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.4287, allocations: 3.984 kB / 0.7846 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.4287, allocations: 1.281 kB / 0.7846 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.4287, allocations: 75.28 kB / 0.7847 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4287, allocations: 0 / 0.7847 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001916/0.4289, allocations: 14.66 kB / 0.7847 GB, free: 13.7 MB / 0.5606 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.0004376/0.4294, allocations: 0.6181 MB / 0.7853 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.091e-05/0.4294, allocations: 7.781 kB / 0.7853 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4294, allocations: 0 / 0.7853 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.395e-06/0.4295, allocations: 5.531 kB / 0.7853 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.4296, allocations: 5.234 kB / 0.7853 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.4299, allocations: 108.1 kB / 0.7854 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4301, allocations: 0.6703 MB / 0.7861 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.4302, allocations: 0 / 0.7861 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.4302, allocations: 12.64 kB / 0.7861 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4302, allocations: 8.062 kB / 0.7861 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.4515, allocations: 1.159 MB / 0.7872 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.317, allocations: 15.08 kB / 0.7872 GB, free: 11.55 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)