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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103.3 kB / 16.39 MB, free: 6.383 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.001199/0.001199, allocations: 192.6 kB / 17.33 MB, free: 5.844 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002637/0.002637, allocations: 287.7 kB / 291.5 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.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4225, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001572/0.4241, allocations: 0.5786 MB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005034/0.4246, allocations: 203.2 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.4246, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.4246, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.4246, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.425, allocations: 51.84 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.701e-05/0.425, allocations: 3.984 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.425, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.425, allocations: 8 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.4251, allocations: 3.984 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-06/0.4251, allocations: 0 / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4252, allocations: 63.88 kB / 0.768 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.4252, allocations: 0 / 0.768 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.4253, allocations: 0 / 0.768 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.4254, allocations: 35.73 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4254, allocations: 0 / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4254, allocations: 0 / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.4254, allocations: 0 / 0.768 GB, free: 2.98 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.0003282/0.4257, allocations: 327.1 kB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4257, allocations: 11.97 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.4258, allocations: 0.9375 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4259, allocations: 164.4 kB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4259, allocations: 4.312 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.4259, allocations: 384 / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.426, allocations: 30.27 kB / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.426, allocations: 192 / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.426, allocations: 3.938 kB / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.426, allocations: 4 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.426, allocations: 0 / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4262, allocations: 153.7 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.4262, allocations: 18.52 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.4262, allocations: 4.859 kB / 0.7687 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/0.427, allocations: 469.5 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.427, allocations: 30.56 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.427, allocations: 0 / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.4271, allocations: 33.64 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4272, allocations: 51.41 kB / 0.7692 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.4272, allocations: 89.86 kB / 0.7693 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4272, allocations: 33.83 kB / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4273, allocations: 80.14 kB / 0.7694 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.4273, allocations: 7.953 kB / 0.7694 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.4273, allocations: 9.719 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4275, allocations: 318.8 kB / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.4275, allocations: 7.938 kB / 0.7698 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.4275, allocations: 0 / 0.7698 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.4275, allocations: 12.92 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4275, allocations: 0 / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.187e-05/0.4276, allocations: 33.7 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4276, allocations: 4 kB / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4276, allocations: 0 / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4276, allocations: 3.938 kB / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.4276, allocations: 7.984 kB / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4276, allocations: 3.984 kB / 0.7698 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-06/0.4276, allocations: 3.938 kB / 0.7698 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.4276, allocations: 0 / 0.7698 GB, free: 0.7812 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 7.653e-05/0.4277, allocations: 120.2 kB / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/0.4277, allocations: 0 / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.4278, allocations: 36.77 kB / 0.77 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4278, allocations: 0 / 0.77 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4278, allocations: 3.984 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4278, allocations: 4 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4279, allocations: 147.9 kB / 0.7701 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4279, allocations: 0 / 0.7701 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.4279, allocations: 4 kB / 0.7701 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4279, allocations: 4.031 kB / 0.7701 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4279, allocations: 3.938 kB / 0.7701 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4279, allocations: 0 / 0.7701 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4279, allocations: 0 / 0.7701 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.072e-05/0.428, allocations: 65.06 kB / 0.7702 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.4281, allocations: 77.11 kB / 0.7703 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4281, allocations: 3.938 kB / 0.7703 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.4281, allocations: 32 / 0.7703 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.4281, allocations: 4 kB / 0.7703 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.4281, allocations: 4 kB / 0.7703 GB, free: 224 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.4281, allocations: 75.28 kB / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.4281, allocations: 0 / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001949/0.4283, allocations: 15.92 kB / 0.7704 GB, free: 132 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.0001941/0.4285, allocations: 115.2 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.4286, allocations: 11.98 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4286, allocations: 0 / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.816e-06/0.4286, allocations: 4 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.4287, allocations: 0 / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.4289, allocations: 81 kB / 0.7706 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4292, allocations: 0.6729 MB / 0.7712 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.022e-05/0.4292, allocations: 8.062 kB / 0.7712 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.4292, allocations: 7.438 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4292, allocations: 0 / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of Templates: time 0.002505/0.4317, allocations: 422.1 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)