Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4525/0.4525, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.000889, allocations: 105.4 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.927e-05, allocations: 8 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3489, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4718, allocations: 101.7 MB / 0.6596 GB, free: 2.633 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.472, allocations: 73.23 kB / 0.6597 GB, free: 2.562 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004388/0.4764, allocations: 1.569 MB / 0.6612 GB, free: 1 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4765, allocations: 0 / 0.6612 GB, free: 1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4765, allocations: 0 / 0.6612 GB, free: 1 MB / 474.7 MB 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.0003504/0.4768, allocations: 366.3 kB / 0.6615 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4769, allocations: 20.91 kB / 0.6616 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.4769, allocations: 30.56 kB / 0.6616 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.477, allocations: 7.953 kB / 0.6616 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4771, allocations: 171 kB / 0.6618 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4771, allocations: 0 / 0.6618 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.4771, allocations: 4 kB / 0.6618 GB, free: 328 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.4772, allocations: 37.69 kB / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4772, allocations: 0 / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.4772, allocations: 0 / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4772, allocations: 0 / 0.6618 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.4773, allocations: 24.83 kB / 0.6618 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.4777, allocations: 261 kB / 0.6621 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.4777, allocations: 22.58 kB / 0.6621 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.4778, allocations: 8.922 kB / 0.6621 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.4783, allocations: 453.4 kB / 0.6625 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4784, allocations: 30.56 kB / 0.6626 GB, free: 15.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4784, allocations: 0 / 0.6626 GB, free: 15.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.4785, allocations: 53.58 kB / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4786, allocations: 55.44 kB / 0.6627 GB, free: 15.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.4786, allocations: 93 kB / 0.6627 GB, free: 15.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.4787, allocations: 28.23 kB / 0.6628 GB, free: 15.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.4787, allocations: 84.05 kB / 0.6629 GB, free: 14.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.4787, allocations: 4 kB / 0.6629 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.4787, allocations: 0 / 0.6629 GB, free: 14.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4789, allocations: 318.8 kB / 0.6632 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.4789, allocations: 4 kB / 0.6632 GB, free: 14.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.4789, allocations: 12 kB / 0.6632 GB, free: 14.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.4789, allocations: 0 / 0.6632 GB, free: 14.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4789, allocations: 0 / 0.6632 GB, free: 14.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.749e-05/0.479, allocations: 49.55 kB / 0.6632 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.479, allocations: 5.25 kB / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.479, allocations: 2.812 kB / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4791, allocations: 7.938 kB / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.4792, allocations: 15.94 kB / 0.6633 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4792, allocations: 4.094 kB / 0.6633 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.4792, allocations: 8.859 kB / 0.6633 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.4792, allocations: 4 kB / 0.6633 GB, free: 14.55 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.4793, allocations: 101 kB / 0.6634 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.4793, allocations: 0 / 0.6634 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.4794, allocations: 48.81 kB / 0.6634 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4795, allocations: 7.938 kB / 0.6634 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4795, allocations: 7.984 kB / 0.6634 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4795, allocations: 1.75 kB / 0.6634 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4796, allocations: 157.7 kB / 0.6636 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4796, allocations: 0 / 0.6636 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.4797, allocations: 8 kB / 0.6636 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4797, allocations: 0 / 0.6636 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4797, allocations: 0.9375 kB / 0.6636 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4797, allocations: 0 / 0.6636 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4797, allocations: 4 kB / 0.6636 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.4798, allocations: 139.7 kB / 0.6637 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.4799, allocations: 89 kB / 0.6638 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.4799, allocations: 0 / 0.6638 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.48, allocations: 11.98 kB / 0.6638 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.48, allocations: 4 kB / 0.6638 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.48, allocations: 1.125 kB / 0.6638 GB, free: 13.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.4801, allocations: 87.3 kB / 0.6639 GB, free: 13.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4801, allocations: 6.281 kB / 0.6639 GB, free: 13.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.4803, allocations: 27.89 kB / 0.6639 GB, free: 13.77 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004632/0.4808, allocations: 0.7008 MB / 0.6646 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.4809, allocations: 12 kB / 0.6646 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4809, allocations: 3.938 kB / 0.6646 GB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.4809, allocations: 8 kB / 0.6647 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.4811, allocations: 5.547 kB / 0.6647 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.4814, allocations: 106.6 kB / 0.6648 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4816, allocations: 0.677 MB / 0.6654 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.318e-05/0.4816, allocations: 3.984 kB / 0.6654 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.4817, allocations: 7.438 kB / 0.6654 GB, free: 12.16 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4817, allocations: 0 / 0.6654 GB, free: 12.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.4931, allocations: 1.22 MB / 0.6666 GB, free: 11.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.4934, allocations: 135.5 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.927, allocations: 3.938 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)