Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_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.001337/0.001337, allocations: 109.4 kB / 15.69 MB, free: 128 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.001264/0.001265, allocations: 186 kB / 16.62 MB, free: 6.582 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.713/1.713, 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.002275/0.002275, allocations: 67.09 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2416, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00175/0.2434, allocations: 0.5959 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004181/0.2438, allocations: 183.4 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.2438, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.2438, allocations: 4 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.2439, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.2442, allocations: 47.84 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.2443, allocations: 7.922 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.2443, allocations: 7.984 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.157e-05/0.2443, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.745e-05/0.2444, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.2444, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2445, allocations: 59.89 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.2446, allocations: 3.938 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.2446, allocations: 0 / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.89e-05/0.2447, allocations: 39.94 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2447, allocations: 0 / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2447, allocations: 0 / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2447, allocations: 0 / 0.7845 GB, free: 12.3 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.0002903/0.245, allocations: 319.6 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.245, allocations: 12.03 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2451, allocations: 30.75 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.2451, allocations: 0.9375 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.2452, allocations: 164.3 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2452, allocations: 384 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.2452, allocations: 4.375 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.2453, allocations: 34.25 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2453, allocations: 3.938 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.2453, allocations: 3.938 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2453, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.2454, allocations: 4 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.2455, allocations: 145.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.406e-05/0.2455, allocations: 22.52 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.2456, allocations: 8.953 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006918/0.2463, allocations: 453.5 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2463, allocations: 30.56 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 3.888e-06/0.2463, allocations: 4 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.2464, allocations: 37.64 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2465, allocations: 51.41 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.2465, allocations: 97.78 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2466, allocations: 25.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.2466, allocations: 80.14 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2466, allocations: 3.906 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2467, allocations: 17.72 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2468, allocations: 315 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.2468, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.2468, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.2468, allocations: 8.859 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2469, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.897e-05/0.2469, allocations: 37.69 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2469, allocations: 8 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2469, allocations: 3.938 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.247, allocations: 96 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.601e-05/0.247, allocations: 7.938 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.247, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.247, allocations: 11.94 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2471, allocations: 0 / 0.7864 GB, free: 10.07 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.41e-05/0.2471, allocations: 105.8 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.2471, allocations: 0 / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.2472, allocations: 41.03 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2472, allocations: 3.984 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2472, allocations: 4.031 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2472, allocations: 4 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.623e-05/0.2473, allocations: 145.7 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2473, allocations: 3.938 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.2473, allocations: 3.984 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2474, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2474, allocations: 7.938 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2474, allocations: 3.938 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2474, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.342e-05/0.2474, allocations: 53.14 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.2475, allocations: 85.05 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2475, allocations: 11.92 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.2475, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.2475, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2475, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2476, allocations: 75.28 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2476, allocations: 0 / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001995/0.2478, allocations: 16 kB / 0.7869 GB, free: 9.41 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.0004125/0.2482, allocations: 0.6163 MB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.09e-05/0.2483, allocations: 12.02 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2483, allocations: 0 / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.2483, allocations: 4 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.2484, allocations: 0 / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.2487, allocations: 114.6 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2489, allocations: 0.6767 MB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.092e-05/0.2489, allocations: 4 kB / 0.7883 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.2489, allocations: 7.438 kB / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.249, allocations: 4.125 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2642, allocations: 1.14 MB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.136, allocations: 0 / 0.7895 GB, free: 6.816 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)