Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.001666, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 59.42 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3168, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003212/0.3201, allocations: 1.434 MB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3207, allocations: 251.2 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3209, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3209, allocations: 11.86 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.321, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.3214, allocations: 59.83 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.3215, allocations: 15.94 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3216, allocations: 19.97 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.3217, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.3217, allocations: 15.92 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3217, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3219, allocations: 63.88 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.3219, allocations: 8 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.322, allocations: 3.938 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3222, allocations: 59.84 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3222, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3222, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3222, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 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.0004973/0.3227, allocations: 351.7 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3228, allocations: 12.03 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.3228, allocations: 0.9375 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.323, allocations: 160.4 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3231, allocations: 4.375 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3231, allocations: 4.312 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.3233, allocations: 50.23 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3234, allocations: 4.188 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.3234, allocations: 3.938 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3234, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3236, allocations: 35.95 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.3241, allocations: 241 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3242, allocations: 50.42 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.3244, allocations: 24.91 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.3254, allocations: 457.5 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/0.3255, allocations: 38.56 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3255, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003786/0.3258, allocations: 81.55 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3259, allocations: 55.34 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.326, allocations: 97.86 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.326, allocations: 25.83 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3261, allocations: 96.11 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3261, allocations: 7.906 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.3261, allocations: 13.66 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3263, allocations: 314.8 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.3264, allocations: 15.98 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.3264, allocations: 15.97 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3266, allocations: 40.89 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3266, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3268, allocations: 73.78 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3268, allocations: 9.344 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3268, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3269, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.327, allocations: 20 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.327, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.327, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.327, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 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.751e-05/0.3271, allocations: 110.4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3272, allocations: 7.984 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3274, allocations: 72.78 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3274, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3274, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3274, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3276, allocations: 161.6 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3276, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.3277, allocations: 11.92 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3277, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3277, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3277, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3277, allocations: 8.031 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.328, allocations: 163.4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.328, allocations: 85.05 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.328, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.3281, allocations: 7.984 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3282, allocations: 8.031 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3282, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.3282, allocations: 87.27 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3282, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002368/0.3285, allocations: 16 kB / 1.073 GB, free: 5.074 MB / 0.8262 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.0003167/0.3288, allocations: 115.8 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.329, allocations: 39.91 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3291, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3292, allocations: 23.97 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3294, allocations: 15.81 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3297, allocations: 109.6 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3301, allocations: 0.6729 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3301, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3301, allocations: 11.44 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.345e-06/0.3301, allocations: 0 / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.003262/0.3334, allocations: 0.6584 MB / 1.075 GB, free: 3.371 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)