Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001202/0.001202, allocations: 187 kB / 17.34 MB, free: 5.762 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 293 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.9195/0.9195, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 95.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4115, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001468/0.413, allocations: 0.5785 MB / 0.7677 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000522/0.4135, allocations: 287 kB / 0.7679 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.4135, allocations: 4 kB / 0.7679 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.4135, allocations: 3.938 kB / 0.7679 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.4136, allocations: 0 / 0.7679 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.4139, allocations: 95.72 kB / 0.768 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.423e-05/0.414, allocations: 3.984 kB / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.414, allocations: 0 / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.414, allocations: 4 kB / 0.768 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.496e-05/0.4141, allocations: 0 / 0.768 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.4141, allocations: 0 / 0.768 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.4143, allocations: 115.8 kB / 0.7681 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.4143, allocations: 4 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.4143, allocations: 3.938 kB / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.4145, allocations: 71.83 kB / 0.7682 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4145, allocations: 0 / 0.7682 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4145, allocations: 0 / 0.7682 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.4145, allocations: 4 kB / 0.7682 GB, free: 2.734 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.0002642/0.4148, allocations: 335.5 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.4148, allocations: 8.031 kB / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.4148, allocations: 0.9375 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.4149, allocations: 160.4 kB / 0.7687 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.4149, allocations: 4.375 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.4149, allocations: 384 / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.967e-05/0.415, allocations: 30.27 kB / 0.7687 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.415, allocations: 192 / 0.7687 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.415, allocations: 3.938 kB / 0.7687 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.415, allocations: 0 / 0.7687 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.4151, allocations: 4 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.4152, allocations: 153.6 kB / 0.7689 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.4152, allocations: 22.56 kB / 0.7689 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.4152, allocations: 8.953 kB / 0.7689 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.4159, allocations: 457.5 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4159, allocations: 34.56 kB / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.4159, allocations: 0 / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001069/0.416, allocations: 37.58 kB / 0.7694 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.4161, allocations: 55.41 kB / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.471e-05/0.4161, allocations: 89.86 kB / 0.7696 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4161, allocations: 29.7 kB / 0.7696 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.4161, allocations: 84.08 kB / 0.7697 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.4162, allocations: 3.906 kB / 0.7697 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.4162, allocations: 17.83 kB / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.4163, allocations: 314.8 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.4163, allocations: 0 / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-06/0.4163, allocations: 0 / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.4163, allocations: 8.859 kB / 0.77 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4163, allocations: 0 / 0.77 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.876e-05/0.4164, allocations: 37.64 kB / 0.77 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.4164, allocations: 4 kB / 0.77 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.4164, allocations: 4.094 kB / 0.77 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4164, allocations: 11.92 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.4165, allocations: 0 / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4165, allocations: 0 / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.4165, allocations: 4 kB / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4165, allocations: 0 / 0.7701 GB, free: 0.5312 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.697e-05/0.4166, allocations: 115.9 kB / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.4166, allocations: 0 / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.4166, allocations: 48.75 kB / 0.7702 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.4167, allocations: 0 / 0.7702 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4167, allocations: 0 / 0.7702 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.4167, allocations: 7.875 kB / 0.7702 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.175e-05/0.4168, allocations: 145.7 kB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4168, allocations: 0 / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.4168, allocations: 0 / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4168, allocations: 0 / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.4168, allocations: 3.938 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4168, allocations: 3.984 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4168, allocations: 7.984 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.707e-05/0.4169, allocations: 57.17 kB / 0.7704 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.4169, allocations: 77.11 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.4169, allocations: 3.938 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.4169, allocations: 0 / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.4169, allocations: 7.984 kB / 0.7705 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.417, allocations: 0 / 0.7705 GB, free: 15.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.609e-05/0.417, allocations: 75.28 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.417, allocations: 7.969 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002075/0.4172, allocations: 24 kB / 0.7706 GB, free: 15.86 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 (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.000208/0.4174, allocations: 139.2 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.4175, allocations: 8 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4175, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.4175, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.4176, allocations: 8 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001469/0.4178, allocations: 98.77 kB / 0.7709 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.418, allocations: 0.669 MB / 0.7715 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.418, allocations: 11.44 kB / 0.7715 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.418, allocations: 128 / 0.7715 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Templates: time 0.001793/0.4198, allocations: 0.7666 MB / 0.7723 GB, free: 14.1 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)