Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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/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.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.006953/0.006953, allocations: 97.27 kB / 15.73 MB, free: 5.988 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.001813/0.001813, allocations: 188 kB / 16.67 MB, free: 5.918 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 283.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 99.83 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5312, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002893/0.5341, allocations: 1.443 MB / 0.7828 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.5348, allocations: 261.3 kB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.5348, allocations: 0 / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.5348, allocations: 3.938 kB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.5349, allocations: 0.6094 kB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.5353, allocations: 58.08 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.5354, allocations: 26.73 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.5355, allocations: 4.469 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.5355, allocations: 13.58 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.5356, allocations: 9.062 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.5356, allocations: 7.062 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.5358, allocations: 59.56 kB / 0.7832 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.5358, allocations: 8.734 kB / 0.7832 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.5358, allocations: 12.45 kB / 0.7832 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.536, allocations: 50.5 kB / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.536, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.536, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.536, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004965/0.5365, allocations: 344.1 kB / 0.7836 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5365, allocations: 14.28 kB / 0.7836 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.5366, allocations: 31.55 kB / 0.7836 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.5366, allocations: 2.312 kB / 0.7836 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.5368, allocations: 167.3 kB / 0.7838 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5368, allocations: 6.344 kB / 0.7838 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.5368, allocations: 5.781 kB / 0.7838 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.537, allocations: 48.86 kB / 0.7838 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.537, allocations: 3.938 kB / 0.7838 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5371, allocations: 1.281 kB / 0.7838 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5371, allocations: 7.938 kB / 0.7838 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.5372, allocations: 32.47 kB / 0.7839 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.5376, allocations: 251 kB / 0.7841 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.5378, allocations: 48.38 kB / 0.7842 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5379, allocations: 23.84 kB / 0.7842 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/0.5387, allocations: 458 kB / 0.7846 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.5387, allocations: 32.53 kB / 0.7847 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5388, allocations: 4 kB / 0.7847 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003913/0.5392, allocations: 79.7 kB / 0.7847 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.5392, allocations: 56.14 kB / 0.7848 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.5393, allocations: 105 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5393, allocations: 25.7 kB / 0.7849 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.5394, allocations: 82.55 kB / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5394, allocations: 9.297 kB / 0.785 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.5395, allocations: 17.11 kB / 0.785 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5396, allocations: 313.4 kB / 0.7853 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.5397, allocations: 13.06 kB / 0.7853 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.5398, allocations: 19.41 kB / 0.7853 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.54, allocations: 41.08 kB / 0.7854 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.54, allocations: 3.938 kB / 0.7854 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.5402, allocations: 62.55 kB / 0.7854 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5402, allocations: 9.531 kB / 0.7855 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5402, allocations: 0.75 kB / 0.7855 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5402, allocations: 0.8438 kB / 0.7855 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.5403, allocations: 8.828 kB / 0.7855 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5404, allocations: 1.594 kB / 0.7855 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.5404, allocations: 9.453 kB / 0.7855 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.5404, allocations: 0 / 0.7855 GB, free: 10.32 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 (2): * Single equations (assignments): 2 * 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 8.968e-05/0.5405, allocations: 117.2 kB / 0.7856 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.5405, allocations: 6.047 kB / 0.7856 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.5408, allocations: 66.47 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5408, allocations: 0.5625 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5408, allocations: 5.344 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5408, allocations: 0.6094 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.541, allocations: 162.7 kB / 0.7858 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.541, allocations: 5.469 kB / 0.7858 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.5411, allocations: 15.77 kB / 0.7858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5411, allocations: 1.906 kB / 0.7858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5411, allocations: 0 / 0.7858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5411, allocations: 0.5156 kB / 0.7858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5411, allocations: 1.406 kB / 0.7858 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.5414, allocations: 161.8 kB / 0.786 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.5414, allocations: 79.2 kB / 0.7861 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5415, allocations: 1.938 kB / 0.7861 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.5415, allocations: 8.875 kB / 0.7861 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5416, allocations: 6.516 kB / 0.7861 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.5416, allocations: 1.344 kB / 0.7861 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.5417, allocations: 84.16 kB / 0.7862 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5417, allocations: 0 / 0.7862 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002472/0.5419, allocations: 18.14 kB / 0.7862 GB, free: 9.625 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 (2): * Single equations (assignments): 2 * 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.0006617/0.5426, allocations: 0.7164 MB / 0.7869 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.5428, allocations: 35.59 kB / 0.7869 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5428, allocations: 4 kB / 0.7869 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.5429, allocations: 25.03 kB / 0.787 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5432, allocations: 5.188 kB / 0.787 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.5436, allocations: 137.6 kB / 0.7871 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5439, allocations: 0.676 MB / 0.7877 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.5439, allocations: 1.156 kB / 0.7877 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.544, allocations: 9.609 kB / 0.7878 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.544, allocations: 0 / 0.7878 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.5668, allocations: 1.531 MB / 0.7893 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/8.169, allocations: 14.31 kB / 0.7893 GB, free: 7.672 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_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_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)