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.008115/0.008115, allocations: 98.7 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.001976/0.001976, allocations: 196.3 kB / 16.68 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002499/0.002499, allocations: 289.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 92.23 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.392, allocations: 86.99 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002445/0.3945, allocations: 1.422 MB / 0.7673 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.395, allocations: 256 kB / 0.7676 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.3951, allocations: 0 / 0.7676 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.3951, allocations: 0 / 0.7676 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.3951, allocations: 7.875 kB / 0.7676 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.3955, allocations: 63.81 kB / 0.7676 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.3956, allocations: 19.92 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.3956, allocations: 12 kB / 0.7677 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.3957, allocations: 11.92 kB / 0.7677 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.3957, allocations: 11.98 kB / 0.7677 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.3957, allocations: 0 / 0.7677 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3959, allocations: 59.94 kB / 0.7677 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3959, allocations: 7.938 kB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.3959, allocations: 7.984 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3961, allocations: 59.59 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3961, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3961, allocations: 4 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3961, allocations: 0 / 0.7678 GB, free: 1.938 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.0004761/0.3966, allocations: 344.7 kB / 0.7681 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3966, allocations: 12.03 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.3967, allocations: 30.75 kB / 0.7682 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.3967, allocations: 0.9375 kB / 0.7682 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3968, allocations: 176.3 kB / 0.7683 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3968, allocations: 384 / 0.7683 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.3969, allocations: 4.312 kB / 0.7683 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.397, allocations: 54.23 kB / 0.7684 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3971, allocations: 7.875 kB / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.3971, allocations: 0 / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3971, allocations: 0 / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.3972, allocations: 31.97 kB / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.3976, allocations: 253 kB / 0.7687 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3977, allocations: 38.5 kB / 0.7687 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.3978, allocations: 20.91 kB / 0.7687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/0.3985, allocations: 469.4 kB / 0.7692 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3986, allocations: 30.56 kB / 0.7692 GB, free: 240 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3986, allocations: 0 / 0.7692 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003294/0.3989, allocations: 81.64 kB / 0.7693 GB, free: 152 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3989, allocations: 51.41 kB / 0.7693 GB, free: 88 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.399, allocations: 102 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3991, allocations: 25.7 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.3991, allocations: 88.14 kB / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3991, allocations: 3.953 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.3992, allocations: 9.719 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3993, allocations: 322.8 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.3994, allocations: 11.98 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.3995, allocations: 23.92 kB / 0.7699 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3996, allocations: 44.75 kB / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3996, allocations: 3.938 kB / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.3998, allocations: 61.67 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3998, allocations: 4 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3998, allocations: 4.094 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3998, allocations: 0 / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.3999, allocations: 11.98 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3999, allocations: 0 / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.4, allocations: 7.984 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.4, allocations: 0 / 0.77 GB, free: 15.33 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 7.432e-05/0.4001, allocations: 117.7 kB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.4001, allocations: 7.953 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.4003, allocations: 68.97 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4003, allocations: 3.984 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.4004, allocations: 3.938 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4004, allocations: 4 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.4006, allocations: 165.6 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4006, allocations: 0 / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.4006, allocations: 7.984 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4006, allocations: 0 / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4006, allocations: 4.031 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4007, allocations: 4 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4007, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4009, allocations: 167.4 kB / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.401, allocations: 77.11 kB / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.401, allocations: 0 / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.4011, allocations: 12.02 kB / 0.7706 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.4011, allocations: 0 / 0.7706 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4011, allocations: 4 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.4012, allocations: 83.28 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4012, allocations: 0 / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003238/0.4015, allocations: 23.92 kB / 0.7708 GB, free: 14.5 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.000636/0.4021, allocations: 0.7179 MB / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.4023, allocations: 39.98 kB / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4024, allocations: 0 / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.4024, allocations: 19.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.0002828/0.4027, allocations: 4 kB / 0.7715 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.4032, allocations: 131.2 kB / 0.7716 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4035, allocations: 0.6844 MB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.4035, allocations: 4.125 kB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.4036, allocations: 11.44 kB / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4036, allocations: 0 / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6144/1.018, allocations: 1.528 MB / 0.7738 GB, free: 11.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.93, allocations: 0.625 kB / 0.7738 GB, free: 11.36 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)