Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_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.004363/0.004363, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001191/0.001191, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 287.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 100.3 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4754, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.002389/0.4779, allocations: 0.5849 MB / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.4786, allocations: 199.3 kB / 0.7667 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.4786, allocations: 0 / 0.7667 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.4786, allocations: 4 kB / 0.7667 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.4787, allocations: 0 / 0.7667 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.4792, allocations: 47.84 kB / 0.7668 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.4792, allocations: 4 kB / 0.7668 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.4793, allocations: 7.984 kB / 0.7668 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.4793, allocations: 0 / 0.7668 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.775e-05/0.4793, allocations: 3.984 kB / 0.7668 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.4794, allocations: 0 / 0.7668 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.4796, allocations: 59.89 kB / 0.7668 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.936e-06/0.4796, allocations: 0 / 0.7668 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.4796, allocations: 0 / 0.7668 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.4798, allocations: 35.73 kB / 0.7669 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4798, allocations: 0 / 0.7669 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4798, allocations: 0 / 0.7669 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4798, allocations: 0 / 0.7669 GB, free: 2.918 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005017/0.4803, allocations: 331.1 kB / 0.7672 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4804, allocations: 15.91 kB / 0.7672 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.4805, allocations: 30.75 kB / 0.7672 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.4805, allocations: 0.9375 kB / 0.7672 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.4807, allocations: 168.4 kB / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4807, allocations: 384 / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4807, allocations: 384 / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/0.4808, allocations: 30.2 kB / 0.7674 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4808, allocations: 7.938 kB / 0.7674 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.4808, allocations: 0 / 0.7674 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4809, allocations: 4 kB / 0.7674 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.4809, allocations: 0 / 0.7674 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.4811, allocations: 145.7 kB / 0.7676 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.4811, allocations: 22.59 kB / 0.7676 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.4812, allocations: 4.859 kB / 0.7676 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/0.4822, allocations: 465.5 kB / 0.768 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.4822, allocations: 34.5 kB / 0.7681 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.4822, allocations: 4 kB / 0.7681 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.4824, allocations: 33.64 kB / 0.7681 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4824, allocations: 55.53 kB / 0.7682 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.4825, allocations: 89.86 kB / 0.7682 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4825, allocations: 25.7 kB / 0.7683 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.4826, allocations: 80.14 kB / 0.7683 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.4826, allocations: 7.953 kB / 0.7684 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4827, allocations: 13.72 kB / 0.7684 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4829, allocations: 314.8 kB / 0.7687 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/0.4829, allocations: 0 / 0.7687 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.4829, allocations: 4 kB / 0.7687 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.483, allocations: 12.8 kB / 0.7687 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.483, allocations: 0 / 0.7687 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.963e-05/0.4831, allocations: 33.7 kB / 0.7687 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4831, allocations: 8 kB / 0.7687 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4831, allocations: 7.938 kB / 0.7687 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4831, allocations: 0 / 0.7687 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.4832, allocations: 0 / 0.7687 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4832, allocations: 3.984 kB / 0.7687 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.4832, allocations: 8.094 kB / 0.7687 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4832, allocations: 3.938 kB / 0.7687 GB, free: 0.668 MB / 0.5294 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 9.852e-05/0.4834, allocations: 107.5 kB / 0.7688 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.4834, allocations: 0 / 0.7688 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.4835, allocations: 40.7 kB / 0.7689 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4835, allocations: 0 / 0.7689 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4835, allocations: 4 kB / 0.7689 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4835, allocations: 7.922 kB / 0.7689 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4837, allocations: 145.7 kB / 0.769 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4837, allocations: 4.031 kB / 0.769 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.4837, allocations: 0 / 0.769 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4837, allocations: 4 kB / 0.769 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4837, allocations: 3.938 kB / 0.769 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4837, allocations: 0 / 0.769 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4837, allocations: 0 / 0.769 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.4839, allocations: 61.06 kB / 0.7691 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.4839, allocations: 77.14 kB / 0.7692 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.4839, allocations: 11.94 kB / 0.7692 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.484, allocations: 0 / 0.7692 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.484, allocations: 0 / 0.7692 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.484, allocations: 0 / 0.7692 GB, free: 116 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.4841, allocations: 75.28 kB / 0.7693 GB, free: 40 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4841, allocations: 0 / 0.7693 GB, free: 40 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004281/0.4845, allocations: 19.92 kB / 0.7693 GB, free: 20 kB / 0.5294 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.000666/0.4852, allocations: 0.6085 MB / 0.7699 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.4853, allocations: 7.938 kB / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4853, allocations: 0 / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-06/0.4853, allocations: 8.094 kB / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.4855, allocations: 0 / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.486, allocations: 114.6 kB / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.4864, allocations: 0.6729 MB / 0.7707 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.4864, allocations: 7.969 kB / 0.7707 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.4864, allocations: 7.438 kB / 0.7707 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4864, allocations: 0 / 0.7707 GB, free: 14.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.5136, allocations: 1.162 MB / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.2, allocations: 16.56 kB / 0.7718 GB, free: 13.43 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)