Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_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.001153/0.001153, allocations: 105.4 kB / 15.7 MB, free: 24 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.001398/0.001398, allocations: 196.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 77.89 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001976/0.2558, allocations: 0.5859 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.2564, allocations: 199.3 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.2564, allocations: 0 / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2565, allocations: 3.938 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.2565, allocations: 0 / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.2569, allocations: 51.83 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.257, allocations: 7.984 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.257, allocations: 0 / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.2571, allocations: 0 / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.2571, allocations: 0 / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.2571, allocations: 0 / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.2573, allocations: 63.92 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.2573, allocations: 0 / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2573, allocations: 4 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2575, allocations: 39.88 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2575, allocations: 3.938 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2575, allocations: 11.94 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2575, allocations: 0 / 0.7846 GB, free: 12.27 MB / 0.6075 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.0003155/0.2578, allocations: 311.6 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2579, allocations: 8.031 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.2579, allocations: 34.75 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.258, allocations: 0.9375 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2581, allocations: 164.4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2581, allocations: 4.375 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2581, allocations: 384 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2582, allocations: 30.27 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2582, allocations: 7.938 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.2582, allocations: 0 / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2582, allocations: 0 / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.2583, allocations: 3.938 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2584, allocations: 145.7 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.2585, allocations: 22.61 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.2585, allocations: 4.859 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.2593, allocations: 457.5 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2593, allocations: 34.56 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2593, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.2595, allocations: 41.67 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2595, allocations: 55.44 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.614e-05/0.2595, allocations: 89.86 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2596, allocations: 25.7 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.2596, allocations: 80.14 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2596, allocations: 3.906 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.2597, allocations: 17.7 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2598, allocations: 310.8 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.2598, allocations: 4 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.2598, allocations: 8 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.2598, allocations: 4.859 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2598, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.205e-05/0.2599, allocations: 37.64 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2599, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2599, allocations: 3.938 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.26, allocations: 3.938 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.26, allocations: 11.98 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.26, allocations: 4.094 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.26, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.26, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 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.378e-05/0.2601, allocations: 106.5 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.2601, allocations: 7.938 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/0.2602, allocations: 48.97 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2602, allocations: 3.984 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2602, allocations: 0 / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2602, allocations: 32 / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.787e-05/0.2603, allocations: 145.7 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2603, allocations: 0 / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.2603, allocations: 4 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2604, allocations: 0 / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2604, allocations: 3.938 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2604, allocations: 0 / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2604, allocations: 0 / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.586e-05/0.2604, allocations: 65.12 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.2605, allocations: 81.05 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2605, allocations: 3.938 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-06/0.2605, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.2605, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2605, allocations: 7.922 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.2606, allocations: 75.28 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2606, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002035/0.2608, allocations: 16 kB / 0.787 GB, free: 9.379 MB / 0.6075 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.0004072/0.2612, allocations: 0.6086 MB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.2613, allocations: 8 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2613, allocations: 4.094 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.2613, allocations: 7.938 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2614, allocations: 2.406 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.2617, allocations: 114.6 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.262, allocations: 0.6729 MB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.758e-06/0.262, allocations: 3.938 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.262, allocations: 7.438 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.262, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2791, allocations: 1.148 MB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.609, allocations: 2.75 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)