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: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001194/0.001194, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.001282/0.001282, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.262/1.262, 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.002046/0.002046, allocations: 281.5 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.9146/0.9146, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 92.08 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4161, allocations: 86.99 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002577/0.4188, allocations: 1.421 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.4193, allocations: 256 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.4194, allocations: 4 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.4194, allocations: 0 / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.4195, allocations: 7.875 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.4199, allocations: 59.81 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.42, allocations: 23.92 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.4201, allocations: 4 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.4201, allocations: 11.94 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.4201, allocations: 11.98 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.4202, allocations: 0 / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.4203, allocations: 71.86 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.4203, allocations: 0 / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.4204, allocations: 11.94 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.4205, allocations: 55.84 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4205, allocations: 0 / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4205, allocations: 0 / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4205, allocations: 0 / 0.7689 GB, free: 1.941 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.0004426/0.421, allocations: 343.1 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.421, allocations: 12.03 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.4211, allocations: 4.938 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4212, allocations: 160.4 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4212, allocations: 12.36 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4212, allocations: 384 / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4214, allocations: 50.25 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4214, allocations: 4.125 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4214, allocations: 3.938 kB / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4214, allocations: 3.984 kB / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4216, allocations: 35.97 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.4219, allocations: 244.8 kB / 0.7698 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.422, allocations: 42.53 kB / 0.7698 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.4221, allocations: 20.84 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.4228, allocations: 465.5 kB / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4228, allocations: 34.5 kB / 0.7703 GB, free: 288 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4228, allocations: 0 / 0.7703 GB, free: 288 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003259/0.4232, allocations: 85.64 kB / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4232, allocations: 51.41 kB / 0.7704 GB, free: 132 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.4233, allocations: 101.8 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4233, allocations: 25.7 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.4234, allocations: 80.14 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4234, allocations: 10.44 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.4234, allocations: 13.72 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.4235, allocations: 315 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.4236, allocations: 19.97 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.4237, allocations: 19.92 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.4238, allocations: 36.83 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4238, allocations: 3.938 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.424, allocations: 73.66 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.424, allocations: 4 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.424, allocations: 0 / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4241, allocations: 0 / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.4241, allocations: 11.98 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4242, allocations: 3.984 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.4242, allocations: 7.984 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4242, allocations: 32 / 0.7711 GB, free: 15.38 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 6.184e-05/0.4243, allocations: 121.7 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.4243, allocations: 4 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4245, allocations: 64.97 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4245, allocations: 3.984 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4245, allocations: 0 / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4245, allocations: 0 / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.4247, allocations: 169.6 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4247, allocations: 4 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.4248, allocations: 4 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4248, allocations: 0 / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.4248, allocations: 0 / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4248, allocations: 3.984 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4248, allocations: 3.938 kB / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.425, allocations: 167.3 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.425, allocations: 85.09 kB / 0.7717 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.4251, allocations: 0 / 0.7717 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.4251, allocations: 12 kB / 0.7718 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.4252, allocations: 3.984 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4252, allocations: 0 / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.4252, allocations: 79.28 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4252, allocations: 0 / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002256/0.4254, allocations: 20.03 kB / 0.7719 GB, free: 14.55 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.000172/0.4256, allocations: 123.2 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4258, allocations: 39.91 kB / 0.772 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4258, allocations: 4.062 kB / 0.772 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.4259, allocations: 19.97 kB / 0.772 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4262, allocations: 3.938 kB / 0.772 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.4264, allocations: 137.1 kB / 0.7722 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.4266, allocations: 0.6768 MB / 0.7728 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.4267, allocations: 7.438 kB / 0.7728 GB, free: 13.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4267, allocations: 4 kB / 0.7728 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.001997/0.4287, allocations: 0.7713 MB / 0.7736 GB, free: 12.7 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)