Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.005632/0.005632, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001055/0.001055, allocations: 192.6 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 283.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 96.14 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4609, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002593/0.4636, allocations: 1.426 MB / 0.7673 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005264/0.4641, allocations: 248.1 kB / 0.7675 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.4642, allocations: 4 kB / 0.7675 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.4642, allocations: 3.938 kB / 0.7675 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.4642, allocations: 0 / 0.7675 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.4646, allocations: 55.83 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.4647, allocations: 27.91 kB / 0.7676 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.4648, allocations: 4 kB / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.4648, allocations: 7.938 kB / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.538e-05/0.4648, allocations: 15.98 kB / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.4649, allocations: 0 / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.465, allocations: 63.88 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.465, allocations: 3.938 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.4651, allocations: 11.98 kB / 0.7677 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.4652, allocations: 51.67 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4652, allocations: 0 / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4652, allocations: 0 / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4652, allocations: 0 / 0.7678 GB, free: 1.934 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004315/0.4657, allocations: 352.6 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4657, allocations: 12.03 kB / 0.7681 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.4658, allocations: 30.75 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.4658, allocations: 0.9375 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4659, allocations: 168.3 kB / 0.7683 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.4659, allocations: 4.375 kB / 0.7683 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4659, allocations: 384 / 0.7683 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4661, allocations: 54.17 kB / 0.7684 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4661, allocations: 7.875 kB / 0.7684 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4661, allocations: 0 / 0.7684 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4662, allocations: 4 kB / 0.7684 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4663, allocations: 39.89 kB / 0.7684 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.4666, allocations: 249 kB / 0.7687 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4668, allocations: 42.48 kB / 0.7687 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.4669, allocations: 28.84 kB / 0.7687 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/0.4675, allocations: 449.5 kB / 0.7692 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4676, allocations: 34.56 kB / 0.7692 GB, free: 232 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4676, allocations: 0 / 0.7692 GB, free: 232 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.4679, allocations: 81.64 kB / 0.7693 GB, free: 144 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.468, allocations: 51.41 kB / 0.7693 GB, free: 80 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.4681, allocations: 101.8 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4681, allocations: 25.7 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.4681, allocations: 84.14 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.4682, allocations: 7.953 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.4682, allocations: 21.78 kB / 0.7695 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4683, allocations: 314.8 kB / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.4684, allocations: 15.98 kB / 0.7699 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.4685, allocations: 11.98 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4687, allocations: 48.88 kB / 0.7699 GB, free: 15.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4687, allocations: 3.938 kB / 0.7699 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.4689, allocations: 61.67 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4689, allocations: 4 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4689, allocations: 0 / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4689, allocations: 0 / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.469, allocations: 12.17 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.469, allocations: 3.938 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.4691, allocations: 12.02 kB / 0.77 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4691, allocations: 0 / 0.77 GB, free: 15.32 MB / 0.545 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 6.761e-05/0.4691, allocations: 113.8 kB / 0.7701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4692, allocations: 7.938 kB / 0.7701 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.4694, allocations: 68.78 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4694, allocations: 0 / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4694, allocations: 8.031 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4694, allocations: 0 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4696, allocations: 161.6 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4696, allocations: 0 / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.4697, allocations: 7.984 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4697, allocations: 7.938 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.4697, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4697, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4697, allocations: 7.875 kB / 0.7704 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.47, allocations: 167.5 kB / 0.7705 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.47, allocations: 77.11 kB / 0.7706 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.47, allocations: 0 / 0.7706 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.4701, allocations: 7.984 kB / 0.7706 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4701, allocations: 0 / 0.7706 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4702, allocations: 8 kB / 0.7706 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.4702, allocations: 79.28 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4702, allocations: 8.031 kB / 0.7707 GB, free: 14.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002416/0.4704, allocations: 19.92 kB / 0.7707 GB, free: 14.49 MB / 0.545 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.0005566/0.471, allocations: 0.7162 MB / 0.7714 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.4712, allocations: 35.95 kB / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4712, allocations: 4 kB / 0.7715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.4713, allocations: 15.98 kB / 0.7715 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.4716, allocations: 8.125 kB / 0.7715 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.472, allocations: 136.9 kB / 0.7716 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.4722, allocations: 0.6768 MB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.4722, allocations: 0 / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4723, allocations: 11.44 kB / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4723, allocations: 4 kB / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.4916, allocations: 1.534 MB / 0.7738 GB, free: 11.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.879, allocations: 0.625 kB / 0.7738 GB, free: 11.35 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)