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.001093/0.001093, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001072/0.001073, allocations: 183 kB / 17.34 MB, free: 5.766 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.278/1.278, allocations: 222.9 MB / 241 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.002269/0.002269, allocations: 293.3 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 0.9295/0.9295, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 91.86 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4256, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.00183/0.4275, allocations: 0.5786 MB / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004845/0.428, allocations: 191.3 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.428, allocations: 3.938 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.428, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.428, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.4285, allocations: 63.81 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.4285, allocations: 4 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.4286, allocations: 0 / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.185e-05/0.4286, allocations: 0 / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.4286, allocations: 4 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.4286, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4288, allocations: 55.94 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.4288, allocations: 3.984 kB / 0.768 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.4288, allocations: 7.938 kB / 0.768 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.4289, allocations: 31.89 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4289, allocations: 4 kB / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.429, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.429, allocations: 0 / 0.768 GB, free: 2.969 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.0002808/0.4292, allocations: 331.5 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4293, allocations: 12.03 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.4293, allocations: 0.9375 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.4294, allocations: 160.4 kB / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4294, allocations: 384 / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.4294, allocations: 384 / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.574e-05/0.4295, allocations: 34.27 kB / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.4295, allocations: 192 / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4295, allocations: 3.938 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4296, allocations: 0 / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.4296, allocations: 7.922 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.4297, allocations: 149.7 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.092e-05/0.4298, allocations: 14.58 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.4298, allocations: 4.859 kB / 0.7687 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.4305, allocations: 465.5 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4305, allocations: 34.56 kB / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4305, allocations: 0 / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000116/0.4306, allocations: 37.58 kB / 0.7692 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4307, allocations: 59.52 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.95e-05/0.4307, allocations: 89.86 kB / 0.7693 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.4307, allocations: 25.7 kB / 0.7694 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.4307, allocations: 80.14 kB / 0.7694 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.4308, allocations: 11.89 kB / 0.7695 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.4308, allocations: 13.72 kB / 0.7695 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.4309, allocations: 310.8 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.4309, allocations: 0 / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.4309, allocations: 8 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.4309, allocations: 4.859 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4309, allocations: 0 / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.079e-05/0.431, allocations: 41.62 kB / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.431, allocations: 4 kB / 0.7698 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.431, allocations: 0 / 0.7698 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.431, allocations: 3.938 kB / 0.7698 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.4311, allocations: 8 kB / 0.7698 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4311, allocations: 96 / 0.7698 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.4311, allocations: 4 kB / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.4311, allocations: 3.938 kB / 0.7698 GB, free: 0.7656 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 5.967e-05/0.4312, allocations: 119.8 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.4312, allocations: 4 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.4313, allocations: 44.69 kB / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.4313, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4313, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.4313, allocations: 0 / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.344e-05/0.4314, allocations: 145.7 kB / 0.7701 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4314, allocations: 0 / 0.7701 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.4314, allocations: 7.984 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4314, allocations: 0 / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4314, allocations: 7.938 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4314, allocations: 0 / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4314, allocations: 0 / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.425e-05/0.4315, allocations: 53.14 kB / 0.7702 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.4315, allocations: 85.12 kB / 0.7703 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.4315, allocations: 3.938 kB / 0.7703 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.4316, allocations: 0 / 0.7703 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.4316, allocations: 0 / 0.7703 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4316, allocations: 0 / 0.7703 GB, free: 216 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.281e-05/0.4316, allocations: 87.22 kB / 0.7704 GB, free: 128 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4316, allocations: 0 / 0.7704 GB, free: 128 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000198/0.4318, allocations: 8 kB / 0.7704 GB, free: 120 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.0002015/0.432, allocations: 123.3 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.4321, allocations: 4 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4321, allocations: 0 / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.4321, allocations: 0 / 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.0001255/0.4322, allocations: 6.75 kB / 0.7705 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.4324, allocations: 106.8 kB / 0.7706 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.4326, allocations: 0.6729 MB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.4326, allocations: 7.438 kB / 0.7713 GB, free: 15.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4326, allocations: 0 / 0.7713 GB, free: 15.13 MB / 0.545 GB Notification: Performance of Templates: time 0.001842/0.4345, allocations: 0.5636 MB / 0.7718 GB, free: 14.57 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)